2023-02-14, 11:10 AM (This post was last modified: 2023-02-14, 01:34 PM by run088.)
sorry
As far as that goes . Ive had the changes in the file you ask for. It will not send a file to opendct. It just does not
# has been removed from
136,139,150,152
RawSageTV has been set
Socket was extended to 15
Ive ran that python code over and over and nothing. Logs wont even mention the command has been run. I went through and uncommented EVERY #. And tried. Then got a brand new copy and made the same changes you ask for and still nothing
No that test is bad you likely are using the correct command line which has the quotes around the names.
I am not interested in you posts running a test through Plex or NextPVR at this point only the python file with the comments remove using the command line I gave you. Feel free to try what you want but please don't post them, it adds to the clutter.
What do you want that test to do? It doesn't make a lot of sense to me.
However if python3 /var/opt/nextpvr/scripts/opendct.py START "$2" $1 $3 filename creates the file and it doesn't stop after a few seconds then the issue is probably the python server code. Best to wait until I have time to retest this using an HDHR device.
when it goes into /dev/null I have no idea what its doing other than the logs say its fine writing to there with no errors. pretty sure null is just a black hole
before I fixed the code with the '|'
it was creating a file with an extra space on the end of it. 'dev/null ' That file would expand into a file that I can open up in vlc and play. Whenever I issued the stop command it would lose that stored data and have a value of 0
This happens when I call the py or the sh script as far as pointing them anywhere other than '/dev/null'
But nextpvr seems like it wont run the script. There is never any activity in the logs of opendct about connections from nextpvr. Nextpvr creates a file in my live buffer directory and a file named the same with a .map extension but no data feeds to it. nextpvr logs just indicate its waiting for a connection
On another note
The file Raw creates does expand in size but vlc cant play it of get any info from it. I have no idea if its usable to nextpvr. The file coming from dynamic is a mpeg-ts and does play in vlc
ffmpeg will play the Raw file based on those other old test