2024-10-02, 09:16 PM
Okay I'm pretty sure I did something wrong,
I'm trying to setup an Extras Device, using the template method. I started with a green setup (also anyway to remove old devices?) but used an already working xmltv. I have added the device and channels. The setup kicks off the batch file that changes channels and seems to start ffmpeg, but the temp file never grows and I get an error that the transcoder exited when I try to test live TV.
Extras:
streamy.bat
I know it's not deleting the temp blast file, it doesn't need to, I just thought of doing that while testing. The command for ffmpeg works just fine on its own, if I append a file destination it'll create a file of the stream. I've ran the batch (augmented too) I have also changed the nextpvr service to run as a network service. I noticed the extras instructions had an extra " - " at the end of the command but none of the examples I've seen have it.
I'm trying to setup an Extras Device, using the template method. I started with a green setup (also anyway to remove old devices?) but used an already working xmltv. I have added the device and channels. The setup kicks off the batch file that changes channels and seems to start ffmpeg, but the temp file never grows and I get an error that the transcoder exited when I try to test live TV.
Extras:
Code:
<extras>
<channel name="{channel-name}">
<command>cmd</command>
<args>/c c:\users\public\NPVR-data\streamy.bat {channel_d1}-{channel_d2}-{channel_d3}-{channel_d4}</args>
</channel>
</extras>
streamy.bat
Code:
@echo 2nd-blast %1 >temp.blst
putty.exe -ssh "[redacted]"@192.168.1.108 -pw [removed my password too] -m .\temp.blst
"\Program Files\NextPVR\Other\ffmpeg.exe" -rtsp_transport tcp -i rtsp://192.168.1.114:8554/main/av -vcodec copy -acodec copy -f mpegts
rem del temp.blst
I know it's not deleting the temp blast file, it doesn't need to, I just thought of doing that while testing. The command for ffmpeg works just fine on its own, if I append a file destination it'll create a file of the stream. I've ran the batch (augmented too) I have also changed the nextpvr service to run as a network service. I noticed the extras instructions had an extra " - " at the end of the command but none of the examples I've seen have it.