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 … 97 98 99 100 101 … 433 Next »
Direct TV Woes

Direct TV Woes
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2017-02-21, 06:38 PM
So when you set your blaster to your batch file, the first parameter passed in is the requested channel number. So you batch file would effectively need to be running "HaupBlast.exe %1" twice, with a timeout in between the two.
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#12
2017-02-21, 06:42 PM
sub Wrote:So when you set your blaster to your batch file, the first parameter passed in is the requested channel number. So you batch file would effectively need to be running "HaupBlast.exe %1" twice, with a timeout in between the two.

Thank you...

So, something like the below?


@echo off
cls
HaupBlast.exe %1
Pause? (I dont know this command)
HaupBlast.exe %1
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#13
2017-02-21, 06:46 PM
For example, create a new file in C:\Users\Public\NPVR\scripts called MyHaupBlast.bat. It would contain the following
Code:
@echo off

cd /d C:\Users\Public\NPVR\Scripts
LogFile=..\Logs\MyHaupBlast.log

"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
timeout /t 1
"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
You really only need the last three lines, but the other lines could help in debugging if needed.

What I did for myself was create an AutoIT3 script that sends the Menu key, then the Exit key, then the channel. For my Verizon STB, the Menu key will turn it on if it is off. The Exit key will exit the menu if it was already on.
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#14
2017-02-21, 06:53 PM
ElihuRozen Wrote:For example, create a new file in C:\Users\Public\NPVR\scripts called MyHaupBlast.bat. It would contain the following
Code:
@echo off

cd /d C:\Users\Public\NPVR\Scripts
LogFile=..\Logs\MyHaupBlast.log

"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
timeout /t 1
"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
You really only need the last three lines, but the other lines could help in debugging if needed.

What I did for myself was create an AutoIT3 script that sends the Menu key, then the Exit key, then the channel. For my Verizon STB, the Menu key will turn it on if it is off. The Exit key will exit the menu if it was already on.

PERFECT.......Thank you

And, in the argument line, instead of "C:\Program Files (x86)\NPVR\HaupBlast.exe" , I will replace it with "C:\Program Files (x86)\NPVR\HaupBlast.bat" ? (or MyHaupBlast.bat")
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#15
2017-02-21, 07:05 PM
ElihuRozen Wrote:For example, create a new file in C:\Users\Public\NPVR\scripts called MyHaupBlast.bat. It would contain the following
Code:
@echo off

cd /d C:\Users\Public\NPVR\Scripts
LogFile=..\Logs\MyHaupBlast.log

"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
timeout /t 1
"C:\Program Files (x86)\NPVR\HaupBlast.exe" $1
You really only need the last three lines, but the other lines could help in debugging if needed.

What I did for myself was create an AutoIT3 script that sends the Menu key, then the Exit key, then the channel. For my Verizon STB, the Menu key will turn it on if it is off. The Exit key will exit the menu if it was already on.

BAT file created and working ... I just ran it from the folder

Only thing I need to know now, is, where I place this so it does this before changing the channel for a recording

thanks for all of your help Smile
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#16
2017-02-21, 08:51 PM
GaryJ73167 Wrote:BAT file created and working ... I just ran it from the folder

Only thing I need to know now, is, where I place this so it does this before changing the channel for a recording

thanks for all of your help Smile
I am not in front of my machine, so I cannot give the exact steps, but where you now have C:\Program Files (x86)\NPVR\HaupBlast.exe, point instead to your new bat file. If you followed what I said, then it would be C:\Users\Public\NPVR\Scripts\MyHaupBlast.bat. Note, you change it for one channel & there is some way to say do this for all the other channels on this device. I think it is a check box.
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#17
2017-02-22, 05:36 AM
ElihuRozen Wrote:I am not in front of my machine, so I cannot give the exact steps, but where you now have C:\Program Files (x86)\NPVR\HaupBlast.exe, point instead to your new bat file. If you followed what I said, then it would be C:\Users\Public\NPVR\Scripts\MyHaupBlast.bat. Note, you change it for one channel & there is some way to say do this for all the other channels on this device. I think it is a check box.

ok. I think I am on the right track. I placed the BAT file where you told me to, and found the spot in the NPVR settings on where it should be. (Image example below)

[ATTACHMENT NOT FOUND]

Here is what is happening though.

(I am using channel 285 as my test.....this is the channel I record the most)

After the BAT file is in place, I change the channel to 285. I am seeing the extra commands to wake up my Direct TV box. It is 2 series of 3 commands.

before the channel changes, I get 3 flashes

Then a pause

Then another 3 flashes

However, when it is time to change the channel, I get a direct TV on screen message saying "000 Channel Not Available".....it is almost as if the wake up command is running, but, the actual channel change isn't happening.

Any ideas?
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#18
2017-02-22, 05:42 AM
I think I may have figured it out

In the BAT file example, it showed 2 instances of "$1"..............I changed it to "%1"

Seems to send 3 flashes of a wake up command a pause, then changes the channel

I am assuming that is how it should be working at this point ?
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#19
2017-02-22, 05:56 AM
GaryJ73167 Wrote:I think I may have figured it out

In the BAT file example, it showed 2 instances of "$1"..............I changed it to "%1"

Seems to send 3 flashes of a wake up command a pause, then changes the channel

I am assuming that is how it should be working at this point ?

Sorry. My bad. I've done a lot more bash scripts at work recently, which use $1 to get the first argument, as opposed to batch files at home, which use %1 to get the first argument.
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
GaryJ73167
Offline

Member

Posts: 126
Threads: 22
Joined: Jun 2016
#20
2017-02-22, 06:22 AM
ElihuRozen Wrote:Sorry. My bad. I've done a lot more bash scripts at work recently, which use $1 to get the first argument, as opposed to batch files at home, which use %1 to get the first argument.

Oh my god.....don't worry about it....I appreciate all of the help you gave me.....thank you so much once again Smile
« 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
  Recording to a network drive woes. 2leftfeet 12 7,516 2022-04-05, 08:03 PM
Last Post: mvallevand
  EPG Schedules Direct jwalbrook 6 4,224 2020-12-07, 07:43 PM
Last Post: mvallevand
  How to delete a Schedules Direct Lineup from Version 4? mwkurt 2 1,743 2020-07-19, 02:32 PM
Last Post: mwkurt
  Schedules Direct issues artmetz 4 2,069 2020-04-22, 12:13 AM
Last Post: artmetz
  EPG/Schedules Direct Epitaph 7 2,984 2019-12-12, 03:59 AM
Last Post: Epitaph
  Record direct from live tv? rv0987 3 2,022 2019-11-01, 12:29 PM
Last Post: rv0987
  How do you get channel icons from Schedules Direct SilverTiger 17 6,210 2019-06-28, 02:13 AM
Last Post: sub
  Schedules direct Username and password within the config file Brucek2839 5 2,385 2019-06-16, 02:44 PM
Last Post: Brucek2839
  NextPVR with Ceton InfiniTV, Comcast Card and Schedules Direct add new channels EiEiOhh 5 5,790 2019-06-02, 12:47 AM
Last Post: EiEiOhh
  Series recording woes SpinyGreen 25 7,260 2018-10-08, 09:07 AM
Last Post: Graham

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

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

Linear Mode
Threaded Mode