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 … 125 126 127 128 129 … 433 Next »
Channel changing using uutx USB-UIRT and STB

Channel changing using uutx USB-UIRT and STB
lchiu7
Offline

Member

Posts: 245
Threads: 46
Joined: May 2005
#1
2016-07-21, 11:08 AM
Making progress on changing the channels on my STB using a USB-UIRT and uutx.exe to send the IR codes.

I can send the codes fine from the command line and the channel changes. That works fine for single digit channels. But for more than one digit I have to have several uutx commands in the bat file, one for each digit. That also works okay.
However if I use that same bat file in this option in Nextpvr it doesn't seem to execute the bat file at all. I know that it's invoking that part of the code since if I have uutx.exe as the exe and the hex string for the code to send as the argument that works okay. But I need to send more than one code and a bat file seems to be the only way. nrecord.log indicates that it tried to execute the bat file

<tuning>
<type>HDPVR</type>
<locator>
<channel>18</channel>
<input>1</input>
<audio_input>RCA Front</audio_input>
<blaster_executable>C:\Apps\xmlTVNZ\18.bat</blaster_executable>
<blaster_args>{channel}</blaster_args>
</locator>
</tuning>

but there is no error nor is uutx executed.

Have I missed something here?

The commands with codes work - the bat file does not

[ATTACHMENT NOT FOUND]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2016-07-21, 06:12 PM
you'll have to run cmd.exe /c before the batch file for it to work...
when in dialog to select .exe, type %comspec% in the box and it will magically change into your machine's cmd.exe w path...
then in arguments, put " /c blaster.bat {channel}"
that way, cmd.exe /c executes the batch file, and exits...Smile
of course edit the blaster.bat to whatever your batch file is named..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
lchiu7
Offline

Member

Posts: 245
Threads: 46
Joined: May 2005
#3
2016-07-21, 09:28 PM
Thanks for that. That is certainly more elegant and flexible than my solution which was to find a program to turn a bat file into a self-contained exe! That works but is somewhat OTT
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,611 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,943 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 8,271 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,805 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,944 2021-02-17, 02:59 PM
Last Post: Graham
  send channel chanes via winLIRC?? chef Paula 67 14,513 2021-02-11, 07:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 2,027 2021-02-03, 01:29 PM
Last Post: Graham
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 8,474 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,281 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,917 2020-07-28, 06:03 PM
Last Post: NumberFive

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

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

Linear Mode
Threaded Mode