2019-12-23, 09:42 PM
Did you add the writeopen line to opendct.py? If you want I can do it.
Martin
Martin
2019-12-23, 09:42 PM
Did you add the writeopen line to opendct.py? If you want I can do it.
Martin
2019-12-24, 11:17 AM
2019-12-24, 12:47 PM
Ok when you do the sequence that goes copy once/never do you get a video telling you that? I'd like to see the opendct logs but that is what I am now expecting.
Martin
2019-12-24, 11:06 PM
(2019-12-24, 12:47 PM)mvallevand Wrote: Ok when you do the sequence that goes copy once/never do you get a video telling you that? I'd like to see the opendct logs but that is what I am now expecting. Hi - I added the change to the .py file (and added a : at the end of the elif line), and of course, now I'm no longer having issues with the "Copy Never" bit showing up. Tried 10 times and it did not come up. I did these tests using the .py script with the "START" and "STOP" commands. Unfortunately it seems my NextPVR configuration got messed up somehow, as attempting to play video from the web UI gives a "Failed to start requested stream" error now. For now, I am going to put this down for awhile. I've managed to get LiveTV working in Emby (this was my actual end goal) using MythTV as the PVR instead. I will keep my eye on this forum for your next release of the openDCT tool, that supports multiple tuners.
2019-12-26, 05:57 PM
(This post was last modified: 2019-12-26, 05:57 PM by mvallevand.)
Thanks for helping to test. The attached should enable multiple tuners. Replace the opendct jar file in the OpenDCT folder with the one in this zip. Source is a available if you want it, (open source and all) it is a two line change to change the port based on an identifier I never needed.
The first thing to test is using just the jar and the new opendct.py file and see if it still works with the default port of 7819. The logs should show 7819 where 8888 was before (that was my old placeholder) After that you can change to add the port parameters for opendct.py as a third parameter. I think you can increment them 7820, 7821 etc. You would also need to update the extras in NextPVR to include the port value Martin
2020-01-23, 08:34 PM
I was working on another extras style device and I no experienced the issue you were having, and it is definitely browser related. What happens in the browser is that when you click stop the server still continues transcoding the stream from the Ceton until the lease runs out, which can be from 0-15 seconds. The browser is definitely not designed for channel zapping.
You can probably put some kind of lock in the sh file to avoid calls to the extra while the previous call is in progress. I personally wouldn't bother since it won't impact Kodi or Emby and if you wait 15 seconds in the browser you won't have an issue either. I would remove the extra delay you added since I don't think that is necessary if you wait. Martin
2020-04-01, 02:13 AM
(2019-12-26, 05:57 PM)mvallevand Wrote: Thanks for helping to test. The attached should enable multiple tuners. Replace the opendct jar file in the OpenDCT folder with the one in this zip. Source is a available if you want it, (open source and all) it is a two line change to change the port based on an identifier I never needed. How would you go about changing the port value and third parameter? Thanks
2020-04-01, 02:21 AM
I would use the jar and python file from this link https://forums.nextpvr.com/showthread.ph...#pid533059 and it should print the extras files to stdout
python3 opendct.py PROPERTIES. Martin
2020-04-01, 02:54 AM
Im sorry I didnt see any python files. I found the jar. There was a windows bat file. Im on ubuntu. And after I complete this will I need switch the jar back? I have been following the directions from this thread up to now.
2020-04-01, 02:58 AM
This jar is compatible with SageTv if that is what you mean. The python file should be in the windows zip it doesn't have the installer logic so it just creates one big file you need to edit
Martin |
|