NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 3 4 5 6 7 … 30 Next »
Another Channel Changing Question

 
  • 0 Vote(s) - 0 Average
Another Channel Changing Question
clutch2sft
Offline

Junior Member

us
Posts: 3
Threads: 1
Joined: Sep 2021
#1
2021-09-21, 11:18 PM
First let me say thank you for this software.  So far it has been very easy to setup and use.  I have read about all the threads I can find on the subject and can't figure this one piece out.

Setup - HDPVR with DTV STB.  I can't get IR blasting to work without NextPVR so gave up and wanting to just use IP over the network.

It seems no matter what I put in the two fields for the setup - I can't make it work ... though I can change channels all day long at the command prompt.

calling "C:\Program Files (x86)\GnuWin32\bin\wget.exe" "http://192.168.66.186:8080/tv/tune?major={channel} "

Also moved those things to batch file and just called the batch file with {channel} but nothing works.  Although the logs would lead you to believe it is calling the program.

2021-09-21 18:00:56.160 [INFO][4] HDPVRRecorder.StartStream(LIVE&C:\Users\Public\Videos\live-WDIV-10277.ts)
2021-09-21 18:00:56.160 [INFO][4] Running blaster: c:\windows\system32\chchannel.bat 4
2021-09-21 18:00:56.160 [DEBUG][4] About to tune graph to:
<tuning>
  <type>HDPVR</type>
  <locator>
    <channel>4</channel>
    <input>0</input>
    <audio_input>0</audio_input>
    <blaster_executable>c:\windows\system32\chchannel.bat</blaster_executable>
    <blaster_args></blaster_args>
  </locator>
</tuning>


2021-09-21 17:55:01.273 [INFO][5] HDPVRRecorder.StartStream(LIVE&C:\Users\Public\Videos\live-WXYZDT-8246.ts)
2021-09-21 17:55:01.281 [INFO][5] Running blaster: "c:\windows\system32\cmd.exe" "/C chchannel.bat 7"
2021-09-21 17:55:01.281 [DEBUG][5] About to tune graph to:
<tuning>
  <type>HDPVR</type>
  <locator>
    <channel>7</channel>
    <input>0</input>
    <audio_input>0</audio_input>
    <blaster_executable>&quot;c:\windows\system32\cmd.exe&quot;</blaster_executable>
    <blaster_args>&quot;/C chchannel.bat {channel}&quot;</blaster_args>
  </locator>
</tuning>


2021-09-21 17:29:56.827 [INFO][5] HDPVRRecorder.StartStream(LIVE&C:\Users\Public\Videos\live-WXYZDT-9770.ts)
2021-09-21 17:29:56.837 [INFO][5] Running blaster: "c:\windows\system32\cmd.exe" "/C C:\Program Files (x86)\GnuWin32\bin\wget.exe" http://192.168.66.186:8080/tv/tune?major=7
2021-09-21 17:29:56.838 [DEBUG][5] About to tune graph to:
<tuning>
  <type>HDPVR</type>
  <locator>
    <channel>7</channel>
    <input>0</input>
    <audio_input>0</audio_input>
    <blaster_executable>&quot;c:\windows\system32\cmd.exe&quot;</blaster_executable>
    <blaster_args>&quot;/C C:\Program Files (x86)\GnuWin32\bin\wget.exe&quot; http://192.168.66.186:8080/tv/tune?major...aster_args>
  </locator>
</tuning>

2021-09-21 17:29:56.838 [DEBUG][5] About to switch HDPVR/Colossus to target:
LIVE&C:\Users\Public\Videos\live-WXYZDT-9770.ts
2021-09-21 17:29:56.865 [INFO][5] HDPVRRecorder.StartStream() allocated handle: 0x2
2021-09-21 17:29:56.866 [DEBUG][5] StartStream succeded. Handle: 2
2021-09-21 17:29:56.868 [INFO][4] Got GET request: /stream/stop?handle=1
2021-09-21 17:29:56.868 [INFO][4] HDPVRRecorder.StopStream(1)
2021-09-21 17:29:56.870 [INFO][5] Got GET request: /stream/stop?handle=1
2021-09-21 17:29:56.870 [INFO][5] HDPVRRecorder.StopStream(1)
2021-09-21 17:50:06.416 [INFO][4] Got POST request: /stream/start?slipseconds=1200&target=LIVE%26C%3A%5CUsers%5CPublic%5CVideos%5Clive-WDIV-9771.ts
2021-09-21 17:50:06.416 [DEBUG][4] Starting Stream: LIVE&C:\Users\Public\Videos\live-WDIV-9771.ts
2021-09-21 17:50:06.416 [DEBUG][4] SlipSeconds: 1200
2021-09-21 17:50:06.416 [DEBUG][4] Tuning:
<tuning>




Any ideas?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 101,152
Threads: 725
Joined: Nov 2003
#2
2021-09-22, 12:56 AM
If you're wanting to run a batch file, you'd typically run

c:\windows\system32\cmd.exe /c c:\path\to\my.bat

If you're running an executable, then it wouldn't need to run via cmd.exe

If you don't specify any arguments, it'll default to passing in the channel number. Alternatively, you can specify whatever args you need, and {channel} would be replaced with the channel number.

Quote:2021-09-21 18:00:56.160 [INFO][4] Running blaster: c:\windows\system32\chchannel.bat 4
This likely didn't work because it is a bat file and needs to be run via "c:\windows\system32\cmd.exe /c"

Quote:2021-09-21 17:55:01.281 [INFO][5] Running blaster: "c:\windows\system32\cmd.exe" "/C chchannel.bat 7"
This likely didn't know where chchannel.bat was. ie, if you'd explicitely specified the full path to chchannel.bat, then it probably would have worked.

Quote:2021-09-21 17:29:56.837 [INFO][5] Running blaster: "c:\windows\system32\cmd.exe" "/C C:\Program Files (x86)\GnuWin32\bin\wget.exe" http://192.168.66.186:8080/tv/tune?major=7
Weird. Not sure what that does, if anything.

ie, I'd try either
"c:\windows\system32\cmd.exe" "/c c:\path\to\my.bat {channel}"

or
"C:\Program Files (x86)\GnuWin32\bin\wget.exe" "http://192.168.66.186:8080/tv/tune?major={channel}"
clutch2sft
Offline

Junior Member

us
Posts: 3
Threads: 1
Joined: Sep 2021
#3
2021-11-06, 06:08 PM
Thank you for taking the time to respond. Work took me away for a while - but I thought I had tried most of the iterations you were suggesting. I ran through them again just to see.... none of these seems to work. Maybe I am missing something simple on my side?


2021-11-06 09:35:26.831 [DEBUG][4] Starting Stream: LIVE&C:\Users\Public\Videos\live-CNN HD-6116-2.ts
2021-11-06 09:35:26.831 [DEBUG][4] SlipSeconds: 1200
2021-11-06 09:35:26.831 [DEBUG][4] Tuning:
<tuning>
<type>HDPVR</type>
<locator>
<channel>202</channel>
<input>0</input>
<audio_input>0</audio_input>
<blaster_executable>&quot;c:\windows\system32\cmd.exe&quot;</blaster_executable>
<blaster_args>&quot;/c c:\users\public\chchannel.bat {channel}&quot;</blaster_args>
</locator>
</tuning>

2021-11-06 09:35:26.831 [INFO][4] HDPVRRecorder.StartStream(LIVE&C:\Users\Public\Videos\live-CNN HD-6116-2.ts)
2021-11-06 09:35:26.841 [INFO][4] Running blaster: "c:\windows\system32\cmd.exe" "/c c:\users\public\chchannel.bat 202"
2021-11-06 09:35:26.841 [DEBUG][4] About to tune graph to:
<tuning>
<type>HDPVR</type>
<locator>
<channel>202</channel>
<input>0</input>
<audio_input>0</audio_input>
<blaster_executable>&quot;c:\windows\system32\cmd.exe&quot;</blaster_executable>
<blaster_args>&quot;/c c:\users\public\chchannel.bat {channel}&quot;</blaster_args>
</locator>
</tuning>

2021-11-06 09:35:26.841 [DEBUG][4] About to switch HDPVR/Colossus to target:
LIVE&C:\Users\Public\Videos\live-CNN HD-6116-2.ts
2021-11-06 09:35:26.860 [INFO][4] HDPVRRecorder.StartStream() allocated handle: 0x2
2021-11-06 09:35:26.860 [DEBUG][4] StartStream succeded. Handle: 2
2021-11-06 09:35:26.862 [INFO][5] Got GET request: /stream/stop?handle=1
2021-11-06 09:35:26.863 [INFO][5] HDPVRRecorder.StopStream(1)
2021-11-06 09:35:26.864 [INFO][4] Got GET request: /stream/stop?handle=1
2021-11-06 09:35:26.865 [INFO][4] HDPVRRecorder.StopStream(1)
2021-11-06 09:35:27.772 [INFO][5] Got GET request: /stream/stop?handle=1
2021-11-06 09:35:27.773 [INFO][5] HDPVRRecorder.StopStream(1)
2021-11-06 09:35:42.463 [INFO][4] Got GET request: /stream/stop?handle=2
2021-11-06 09:35:42.463 [INFO][4] HDPVRRecorder.StopStream(2)
2021-11-06 09:35:42.483 [INFO][4] No more streams active. Stopping device.


2021-11-06 14:05:11.044 [INFO][7] HDPVRRecorder.StopStream(1)
2021-11-06 14:05:19.759 [INFO][6] Got POST request: /stream/start?slipseconds=1200&target=LIVE%26C%3A%5CUsers%5CPublic%5CVideos%5Clive-TBS-11000-2.ts
2021-11-06 14:05:19.759 [DEBUG][6] Starting Stream: LIVE&C:\Users\Public\Videos\live-TBS-11000-2.ts
2021-11-06 14:05:19.759 [DEBUG][6] SlipSeconds: 1200
2021-11-06 14:05:19.759 [DEBUG][6] Tuning:
<tuning>
<type>HDPVR</type>
<locator>
<channel>247</channel>
<input>3</input>
<audio_input>3</audio_input>
<blaster_executable>&quot;C:\Program Files (x86)\GnuWin32\bin\wget.exe&quot;</blaster_executable>
<blaster_args>&quot;http://192.168.66.156:8080/tv/tune?major={channel}&quot; </blaster_args>
</locator>
</tuning>

2021-11-06 14:05:19.760 [INFO][6] HDPVRRecorder.StartStream(LIVE&C:\Users\Public\Videos\live-TBS-11000-2.ts)
2021-11-06 14:05:19.760 [INFO][6] Running blaster: "C:\Program Files (x86)\GnuWin32\bin\wget.exe" "http://192.168.66.156:8080/tv/tune?major=247"
2021-11-06 14:05:19.760 [DEBUG][6] About to tune graph to:
<tuning>
<type>HDPVR</type>
<locator>
<channel>247</channel>
<input>3</input>
<audio_input>3</audio_input>
<blaster_executable>&quot;C:\Program Files (x86)\GnuWin32\bin\wget.exe&quot;</blaster_executable>
<blaster_args>&quot;http://192.168.66.156:8080/tv/tune?major={channel}&quot; </blaster_args>
</locator>
</tuning>
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 101,152
Threads: 725
Joined: Nov 2003
#4
2021-11-06, 08:13 PM
Quote:2021-11-06 09:35:26.831 [DEBUG][4] Tuning:
<tuning>
<type>HDPVR</type>
<locator>
<channel>202</channel>
<input>0</input>
<audio_input>0</audio_input>
<blaster_executable>&quot;c:\windows\system32\cmd.exe&quot;</blaster_executable>
<blaster_args>&quot;/c c:\users\public\chchannel.bat {channel}&quot;</blaster_args>
</locator>
</tuning>
It looks like maybe you're entering quotes where there shouldn't be.

ie, should be:
c:\windows\system32\cmd.exe
/c c:\users\public\chchannel.bat {channel}

or:
C:\Program Files (x86)\GnuWin32\bin\wget.exe
http://192.168.66.156:8080/tv/tune?major={channel}

Don't put quotes around those when you're entering them.
clutch2sft
Offline

Junior Member

us
Posts: 3
Threads: 1
Joined: Sep 2021
#5
2021-11-08, 12:07 PM
That was it! Thank you for looking at this and the quick response. To complete the thread for other reading .... I did note that it was necessary to to restart the nextpvr service after each change to the blaster program under the device ... before the change was recognized.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Is the channel XML Import function gone in V5? fwpvr789 12 2,388 2022-03-25, 12:21 PM
Last Post: NumberFive
  Prefer SD or HD channel when advanced recording on keyword janoonk 4 308 2022-01-03, 10:18 AM
Last Post: janoonk
  Recurring recordings question? mwkurt 3 239 2021-12-13, 08:58 PM
Last Post: mwkurt
  Random Question jjmaingrain@gmail.com 5 289 2021-12-11, 04:18 PM
Last Post: sub
  Cannot find previously scanned Freesat channel haru 2 237 2021-10-27, 01:13 AM
Last Post: haru
  EPG source xmltv reset to none on device channel update luguber 11 594 2021-09-10, 08:57 AM
Last Post: luguber
  Having trouble adding IP TV channel peterdegroot 3 528 2021-07-16, 07:34 AM
Last Post: peterdegroot
  Favorites channel lineup ciccio 10 951 2021-06-25, 11:34 PM
Last Post: timbo3344
  Delete Channel Group - Please add Confirmation ! dayvboy 1 289 2021-06-19, 06:53 PM
Last Post: sub
  Changing providers. Reoccurring recordings question snagglewest 1 266 2021-05-27, 09:25 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode