NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 7 8 9 10 11 … 33 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: 102,306
Threads: 739
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: 102,306
Threads: 739
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
  Mangled Channel numbers, any ideas please? JohnLes 4 130 2023-01-01, 10:11 AM
Last Post: JohnLes
  NextPVR Not Detecting Specific Channel MarkieMark96 4 343 2022-11-17, 05:51 PM
Last Post: sub
  How can I update channel order? Deihmos 2 175 2022-11-14, 04:03 PM
Last Post: sub
  Add individual "Station" to DVB-S channel list Heifer 12 311 2022-11-13, 10:33 PM
Last Post: Heifer
Question Channel Header style - Web App V5 brainfryd 14 1,175 2022-09-26, 09:53 PM
Last Post: fla
  one channel bug techpro2004 23 475 2022-09-24, 08:24 PM
Last Post: techpro2004
  Changing M3U adress chris3107 3 209 2022-09-18, 01:14 AM
Last Post: mvallevand
  atsc channel numbers techpro2004 11 371 2022-09-15, 12:51 PM
Last Post: techpro2004
  IPTV Merge Channel botofode 1 247 2022-08-31, 03:16 AM
Last Post: sub
  Problem with some Channel Logos Paul92 2 326 2022-06-29, 10:07 PM
Last Post: Paul92

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

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

Linear Mode
Threaded Mode