NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 17 18 19 20 21 … 43 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: 106,789
Threads: 769
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: 106,789
Threads: 769
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
  Channel setup woes deankelly780 4 265 2025-06-04, 01:55 PM
Last Post: deankelly780
Photo EPG Channel sort order spagio 3 474 2025-03-02, 05:28 PM
Last Post: sub
  Channel Editor -- Feature Request? BigKahuna 1 384 2025-02-19, 06:50 PM
Last Post: sub
  IPTVAU Question Bogey 1 281 2025-02-04, 04:52 PM
Last Post: sub
Question extras.xml | channel management D3iver 3 464 2025-01-12, 09:05 PM
Last Post: mvallevand
  Swapped Channels Question SilverTiger 4 566 2024-11-19, 03:44 PM
Last Post: SilverTiger
  IPTV - Change source IP address, without needing to reimport channel. Paul92 1 479 2024-11-09, 03:23 AM
Last Post: mvallevand
  Adding new channel, using xmltv bigstusexy 3 538 2024-10-26, 12:35 AM
Last Post: bigstusexy
  How to add a new channel without having them all chosen when updating a device? Luisy44 3 539 2024-10-18, 02:31 PM
Last Post: mvallevand
  Help Automating M3U Channel Refresh NextPVR on Unraid (AMD64) mcs_94 5 767 2024-10-06, 08:29 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