NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 42 43 44 45 46 … 433 Next »
Changing Channels over network

Changing Channels over network
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#11
2014-12-11, 12:05 AM
You could try running cmd.exe with "/c c:\path\to\dtv.bat {channel}"
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#12
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.
SickBoy
Offline

Senior Member

Posts: 340
Threads: 53
Joined: May 2005
#13
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,227
Threads: 958
Joined: May 2006
#14
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#15
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,227
Threads: 958
Joined: May 2006
#16
2014-12-11, 10:34 PM (This post was last modified: 2014-12-11, 10:42 PM by sub.)
sub Wrote:I guess you could have gone without the batch file entirely, and just pointed directly at wget.exe.

I was going to suggest that but what if the IP changes?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#17
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'.
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#18
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}

????
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,227
Threads: 958
Joined: May 2006
#19
2014-12-11, 11:51 PM
http://192.168.1.56:8080/tv/tune?major={...inor=65535

Martin
R2JJS
Offline

Junior Member

Posts: 14
Threads: 3
Joined: Jan 2015
#20
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,764 2023-12-04, 10:19 PM
Last Post: turkeypets
  Recording to a network drive woes. 2leftfeet 12 7,740 2022-04-05, 08:03 PM
Last Post: mvallevand
  double channels MaxOne72 2 1,464 2021-08-15, 05:22 AM
Last Post: MaxOne72
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,425 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 3,211 2020-04-20, 03:20 AM
Last Post: eastavin
  hdhomerun dvb-t channels is not fount by nextpvr Ernoth 1 1,931 2020-03-25, 02:12 PM
Last Post: mvallevand
  Channels changing frequencies Ricknextpvr 0 1,314 2020-03-13, 02:08 PM
Last Post: Ricknextpvr
  4 Channels not showing in list otherguy 12 4,876 2020-02-22, 05:23 PM
Last Post: sub
  I can't rescan my channels ram1000 2 2,085 2020-02-19, 10:51 PM
Last Post: ram1000
  NextPVR missing channels filosad 2 2,547 2020-02-18, 10:00 PM
Last Post: filosad

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode