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
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#1
2014-12-10, 02:31 PM
Directv was nice enough to send me a new receiver. The new receiver (h24) can be connected into the home network and can be controlled via sending signals (ie, change channel) across the network to this receiver. Up until this point I have been using the Hauppauge IR blaster to change channels but this new way is faster and more reliable.

Can anybody help with the method and syntax for accomplishing this task?
SickBoy
Offline

Senior Member

Posts: 340
Threads: 53
Joined: May 2005
#2
2014-12-10, 04:15 PM
What mechanism do they provide for changing channels over the network? Mobile app?

It would be most helpful to have the documentation for how that works... and ideally a command line app that could change channels.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#3
2014-12-10, 04:52 PM
Some info here from Sage TV:

http://forums.sagetv.com/forums/showthre...stcount=28

Apparently the box has a web server that you can talk to.

Lots of discussion on their forum and on Myth, so you may be able to figure something out from there. Sounds interesting, but over my head, and don't have DirectTV.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#4
2014-12-10, 06:10 PM
I don't know much, but what I do know is ... if I paste:

http://192.168.1.54:8080/tv/tune?major=202&minor=65535

Into a browser and hit "go", the box tunes to channel 202.

FYI, the address of the box is 192.168.1.54 and the port its using is 8080.

Also, I use girder and if I tell girder to execute the following:

C:\Program Files (x86)\GnuWin32\bin\wget.exe
argument: http://192.168.1.54:8080/tv/tune?major=202&minor=65535

the box will also tune to 202.

I had to install wget to get this to work. This is set up on a different computer with a different DTV box. I then tie that girder command to a netremote (software) icon/button. When I press the netremote button it tells girder to fire off the command and the channel changes. At present I have a netremote button and girder command for every channel.

I'm really trying to adapt this set up so that npvr can handle it.

I've looked at the Sage thread that talks about a dll file but am a little confused about what they are saying. I will continue to study and test.
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#5
2014-12-10, 07:20 PM
Apparently there are 2 different ways SageTV is accomplishing the objective. I'm going to try the second option first.

Here is what the author says:

"To use the tuner just unzip the file in the SageTV\Common directory. It will add the following files/directories:
SageTV\Common\DirecTVTuner.dll
SageTV\Common\RemoteCodes\Directv HTTP Tuning
SageTV\Common\RemoteCodes\Directv HTTP Tuning\192.168.211.60.ir

You will need to change the name of the 192.168.211.60.ir file to the IP address of your DirecTV box. The IP address also needs to be entered inside the file. If you have more than one box then you can copy the file and change the name to appropriate IP address.

You will then need to restart Sage to get it to recognize the DLL."

My first question is if that is the location for Sage, what would be the location for NPVR?
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#6
2014-12-10, 08:03 PM
My way might be a little kludgy, but it sounds like you just need to hit that URL with your channel for it to work. I'd download the curl or wget and from a cmd window send your url and see if they will change your channel as a test.

If so, from there I'd create a bat file to use as the channel changer with NPVR that uses curl or wget (whichever worked) and calls your URL: http://192.168.1.54:8080/tv/tune?major=%1&minor=65535

See where I substituted your channel with %1? That would be the channel number NPVR sends when calling the bat file and would insert it in the URL to change to the channel you want.

I'm doing something a little similar with SageChanger to change the channels on my Time Warner Cable boxes via Firewire (1394).
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#7
2014-12-10, 08:17 PM
Thanks smajor,

I think I understand your directions. Where would I place the bat file and do I have to tell NPVR to use it?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#8
2014-12-10, 10:11 PM
The batch file can go anywhere C:\Users\Public\NPVR\Scripts makes sense

Assuming you call it dtv.bat in the NextPVR tuner change the Channel Changer to Executable and in Executable use C:\Users\Public\NPVR\Scripts\dtv.bat and in Arguments use {channel}

Martin
IanSpringfield
Offline

Member

Posts: 101
Threads: 12
Joined: Aug 2013
#9
2014-12-11, 12:02 AM
Martin,

How do I get the path to the batch file into the executable field. It only lets me browse to it (and it doesn't show as its not an executable file) and it doesn't let me manually type in the path.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#10
2014-12-11, 12:05 AM
IanSpringfield Wrote:Martin,

How do I get the path to the batch file into the executable field. It only lets me browse to it (and it doesn't show as its not an executable file) and it doesn't let me manually type in the path.

If you navigate to the folder with the [...] button, can you type in dtv.bat?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 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,243 2023-12-04, 10:19 PM
Last Post: turkeypets
  Recording to a network drive woes. 2leftfeet 12 7,218 2022-04-05, 08:03 PM
Last Post: mvallevand
  double channels MaxOne72 2 1,317 2021-08-15, 05:22 AM
Last Post: MaxOne72
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,134 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,834 2020-04-20, 03:20 AM
Last Post: eastavin
  hdhomerun dvb-t channels is not fount by nextpvr Ernoth 1 1,790 2020-03-25, 02:12 PM
Last Post: mvallevand
  Channels changing frequencies Ricknextpvr 0 1,220 2020-03-13, 02:08 PM
Last Post: Ricknextpvr
  4 Channels not showing in list otherguy 12 4,342 2020-02-22, 05:23 PM
Last Post: sub
  I can't rescan my channels ram1000 2 1,915 2020-02-19, 10:51 PM
Last Post: ram1000
  NextPVR missing channels filosad 2 2,376 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