2025-04-13, 07:20 PM
Hey guys
I usually don't like to ask for help and just scour the forums etc so I can learn how things work. This has me pulling my hair out. So with my tail between my legs, I need help.
I am trying to setup a Uraycoder HDMI network encoder (URay UHE265-1L) for use in NextPVR. I was using two Colossus 1 cards but they were never 100% stable.
It all seems pretty straight forward but my extras-Uraycoder1.xml for it just doesn't work. After many variations, I tested it one time and it seemed to work perfectly, it played video of the channel, blasted the blaster and displayed the correct guide info. Was happy, took a break, came back later and it didn't work again. (maybe some remnant of the previous tries lingered somehow) because I didn't change a thing. I tried it on another machine to verify. I tested playback with http://192.168.1.168/0.ts in VLC and Potplayer and it plays video fine every time.
It looks like the the extras-Uraycoder1.xml is not running the uraycoder1.bat file. So here what drove me over the edge.
To test if the .bat file was being run I replaced the line in the extras-Uraycoder1.xml with "<Program>C:\windows\system32\notepad.exe</Program>" *no quotes*.
I started and stopped the NextPVR server and deleted and re-added the extra for the 100th time. When I tuned the channel (in the client) I expected a notepad window to open but it didn't. I decided to try the NPVR web app and it actually tuned the channel!!, also not running notepad. With the web app still open I tried the client and it played the video in there too. I tried the client again without the web app and it failed.
I'm no expert with command lines and xml files but it's probably something stupid I'm doing that's right in front of me.
Here is my current extras-Uraycoder1.xml :
<extras>
<channel name="{channel-name}">
<command>cmd</command>
<args>/c C:\Users\Public\NPVR-data\scripts\uraycoder1.bat {channel}</args>
</channel>
</extras>
and the Uraycoder1.bat:
@echo off
c:\Users\Public\NPVR-data\scripts\USBUIRTSend.exe samsung %channel%
curl.exe -s http://192.168.1.168/0.ts
Thanks for any help. (it would be so appreciated)
I usually don't like to ask for help and just scour the forums etc so I can learn how things work. This has me pulling my hair out. So with my tail between my legs, I need help.

I am trying to setup a Uraycoder HDMI network encoder (URay UHE265-1L) for use in NextPVR. I was using two Colossus 1 cards but they were never 100% stable.
It all seems pretty straight forward but my extras-Uraycoder1.xml for it just doesn't work. After many variations, I tested it one time and it seemed to work perfectly, it played video of the channel, blasted the blaster and displayed the correct guide info. Was happy, took a break, came back later and it didn't work again. (maybe some remnant of the previous tries lingered somehow) because I didn't change a thing. I tried it on another machine to verify. I tested playback with http://192.168.1.168/0.ts in VLC and Potplayer and it plays video fine every time.
It looks like the the extras-Uraycoder1.xml is not running the uraycoder1.bat file. So here what drove me over the edge.
To test if the .bat file was being run I replaced the line in the extras-Uraycoder1.xml with "<Program>C:\windows\system32\notepad.exe</Program>" *no quotes*.
I started and stopped the NextPVR server and deleted and re-added the extra for the 100th time. When I tuned the channel (in the client) I expected a notepad window to open but it didn't. I decided to try the NPVR web app and it actually tuned the channel!!, also not running notepad. With the web app still open I tried the client and it played the video in there too. I tried the client again without the web app and it failed.
I'm no expert with command lines and xml files but it's probably something stupid I'm doing that's right in front of me.
Here is my current extras-Uraycoder1.xml :
<extras>
<channel name="{channel-name}">
<command>cmd</command>
<args>/c C:\Users\Public\NPVR-data\scripts\uraycoder1.bat {channel}</args>
</channel>
</extras>
and the Uraycoder1.bat:
@echo off
c:\Users\Public\NPVR-data\scripts\USBUIRTSend.exe samsung %channel%
curl.exe -s http://192.168.1.168/0.ts
Thanks for any help. (it would be so appreciated)