2014-12-11, 12:05 AM
You could try running cmd.exe with "/c c:\path\to\dtv.bat {channel}"
2014-12-11, 12:05 AM
You could try running cmd.exe with "/c c:\path\to\dtv.bat {channel}"
2014-12-11, 12:51 AM
Outstanding. Works perfectly.
I created the following batch file and named it dtv.bat "C:\Program Files (x86)\GnuWin32\bin\wget.exe" http://192.168.1.56:8080/tv/tune?major=%1&minor=65535 It reflects the address and port of the dtv box. I also had to install wget which is easy to find, small to download and quick to install. I placed the batch file in U:\Batch Files\dtv.bat I then went into NPVR -> setting -> devices -> Colossus -> device setup Since I already was using the Haupaugge IR, the channel changer fields already had "Executable" and "argument" {channel} chosen. I clicked on the "..." and while that window is open, I typed in U:\Batch Files\dtv.bat and OKed out. I then selected all the other channels, right click, update to current settings. This placed dtv.bat as the channel changer on all the channels. I then restarted the NPVR service, opened NPVR and so far it has flawlessly changed channels. Thanks everybody.
2014-12-11, 02:17 PM
Yeah, hitting a URL like that is pretty easy. Could be done a bit more simply/elegantly in a powershell script as well. I wish my comcast box would have had an interface like that.
2014-12-11, 10:18 PM
SickBoy Wrote:Yeah, hitting a URL like that is pretty easy. Could be done a bit more simply/elegantly in a powershell script as well. I wish my comcast box would have had an interface like that. What is simpler or more elegant than a one line batch file using a great tool like wget? Martin
2014-12-11, 10:28 PM
mvallevand Wrote:What is simpler or more elegant than a one line batch file using a great tool like wget?I guess you could have gone without the batch file entirely, and just pointed directly at wget.exe.
2014-12-11, 10:41 PM
Yeah, that was my only thought too. Though it's not that hard to do the 'update to current'.
2014-12-11, 11:49 PM
sub Wrote:I guess you could have gone without the batch file entirely, and just pointed directly at wget.exe. How would that have worked? Supposition: Into the executable I place C:\Program Files (x86)\GnuWin32\bin\wget.exe and then in the argument I place http://192.168.1.56:8080/tv/tune?major=%1&minor=65535 {channel} ????
2014-12-11, 11:51 PM
2015-01-23, 06:07 PM
Ok I'm hoping you guy's can help me here. I'm having trouble wrapping my head around this. I am setting up a NPVR back end – Kodi front end. Wish to take advantage of channel changing directv over the network connection.
I am setting up a H23-600 Directv box > HDMI (special splitter) > colossus I've set up the network connection (static) 192.168.1.101 on the directv box. If I understand this thread I need to get a hold of wget, unzip and place somewhere (location not critical) say c:\Program Files (x86)\Wget\wget.exe. Then in the setup for the colossus card turn off the blaster tuning. Into the executable I place C:\Program Files (x86)\Wget\wget.exe in the argument place http://192.168.1.101:8080/tv/tune?major=...inor=65535 and that should have me changing channels? I had serial tuning in my last setup using Snapstream but am looking to simplify connections. Ronald |
|