NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
1 2 3 4 5 … 1231 Next »
USB-UIRT InterCodeDelay - does it work?

 
  • 0 Vote(s) - 0 Average
USB-UIRT InterCodeDelay - does it work?
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#11
2005-10-31, 08:15 PM
OK, I now got myself a crude looking bat file Wink but it works! Big Grin
Code:
IF %1==1 (
uutx.exe -fx0.txt 0
uutx.exe -f0x.txt 1
) ELSE IF %1==2 (
uutx.exe -fx0.txt 0
uutx.exe -f0x.txt 2
)...
I'll also try he "double digit" entry mentioned at the USB-UIRT forum later on.
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#12
2005-11-01, 03:28 PM
Aaargh, I spoke to soon. It's sometimes to slow to invoke the uutx twice, so it still can't change doubble-digit channels reliable. Back to the drawing board....
steves
Offline

Member

Posts: 54
Threads: 10
Joined: Oct 2005
#13
2005-11-01, 04:29 PM
Blader,

Where did you get hold of uutx from please?

Cheers

Steve
lchiu7
Offline

Member

Posts: 245
Threads: 46
Joined: May 2005
#14
2005-11-04, 12:04 AM
Something like this might work
---------------------------------------------------------
@echo off
SET Channel=%1
IF NOT '%Channel%'=='' SET Channel=%Channel:~0,1%
Rem - call uutx here with %channel as the first digit to send
SET digit=%Channel:~1,2%
if '%digit%' == '' goto end
Rem Call uutx again for the second digit if it exists - could repeat this code digits
:end
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#15
2005-11-04, 07:51 AM
Thanks for that code snippet! Unfortunatly my problem is currently that it takes too long to do two separate invocations of the uutx. The box switches to channel 1 first, then to channel 2, instead of directly to channel 12 :-(
lchiu7
Offline

Member

Posts: 245
Threads: 46
Joined: May 2005
#16
2005-11-04, 11:01 PM (This post was last modified: 2005-11-05, 12:25 AM by lchiu7.)
I have a stranger problem. With that code snippet I am able to sent via uutx the single and double digit numbers. My cable box seems to want to wait for the second digit so if you sent say 1 and then after 20 sec 2 it actually enters 12. So it's a different problem from yours where the cable box switches immediately.

My problem is I wrote a batch file that uses that code segment and sends the uutx commands. It works fine when invoked from the command line but if I use the exe channel changer option in gbpvr and try to change channels, it never fires off the bat file! No idea why

Can you tell me how you told gbpvr to call you bat file? I thought it was as simple as choosing the exe channel changer in the options menu and pointing to the bat file. gbpvr would pass (channel) as the first option to the bat fils
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#17
2005-11-05, 08:04 PM
lchiu7 Wrote:I thought it was as simple as choosing the exe channel changer in the options menu and pointing to the bat file. gbpvr would pass (channel) as the first option to the bat fils

Yes, that's how I did it. Except it won't show anything but exe files, so you manually have to enter the name of the .bat file. (And write {channel} in the argument text box.) You also have to make sure that the .bat file can find all files it needs (dll etc), the simpliest way is to dump everything in the gbpvr directory.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#18
2019-03-09, 08:53 AM (This post was last modified: 2019-03-09, 09:00 AM by jksmurf.)
lchiu7 Wrote:Something like this might work
---------------------------------------------------------
@echo off
SET Channel=%1
IF NOT '%Channel%'=='' SET Channel=%Channel:~0,1%
Rem - call uutx here with %channel as the first digit to send
SET digit=%Channel:~1,2%
if '%digit%' == '' goto end
Rem Call uutx again for the second digit if it exists - could repeat this code digits
:end

Code:
@echo off
SET Channel=%1
IF NOT '%Channel%'=='' SET Channel=%Channel:~0,1%
REM
REM - call uutx with %Channel as the first digit to send
REM
uutx.exe -r3 -s10 -fGXPC4312H.ir %Channel
REM
SET digit=%Channel:~1,2%
if '%digit%' == '' goto end
REM
Rem Call uutx again for the second digit if it exists
REM
uutx.exe -r3 -s10 -fGXPC4312H.ir %Channel
REM
SET digit=%Channel:~2,3%
if '%digit%' == '' goto end
REM
Rem Call uutx again for the third digit if it exists
REM
uutx.exe -r3 -s10 -fGXPC4312H.ir %Channel
:end

Old thread I know, but I am experimenting with this channel changer thing and I need some help with batch files please. I have one working that is a loop (that someone else wrote), but I would like to try to separate the repeat (-r) and wait (-s) parameters depending on the digit (1, 2 or 3).

On this I get an error "Error: unable to find codeName 'Channel' in codeFile 'GXPC4312H.ir' " but I am not sure how to pass the nth number in the channel to the uutx exe. I tried as directed above %channel as the first digit to send?

Cheers

k.

[EDIT] - Also, does anywone know a uutx code for flushing codes from the IR sent to the STB? Sometimes it sends just the first two digits sometimes the last, sometimes it misses the middle digit as pictured. It seems random or per channel how this happens. If I send too many one after the other it seems to send an errant one later.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#19
2019-03-09, 10:31 AM
"OK everyone ... We have a snazzy new television and Daddy is going to plug it in for you.."

... ... ... Weeks later ...

"Mummy, there's a strange man in the living room ... he has wild eyes and straggly hair and a long beard."
"It's alright guys ... that's Daddy ... he promises that the new television will be plugged in before Christmas."
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#20
2019-03-09, 11:50 AM
ROTLMAO. You nailed it in one.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR Webserver does not work - Windows 7 Pro, 64 Bit Ijaja 6 4,450 2011-10-19, 07:21 PM
Last Post: Basher52
  Will A Hauppauge Colossus work in 1.4.7? hondophred 5 3,730 2011-06-29, 09:12 PM
Last Post: sub
  Unable to get Sony MPeg2 card to work... AssarGabrielson 43 17,497 2011-03-17, 11:09 PM
Last Post: Snooze
  "Remove unreferenced channels" does not work at all Ijaja 4 2,521 2010-10-28, 11:41 AM
Last Post: Ijaja
  Forward key malfunctions, and sometimes no keys work at all BobAtTorrey 0 1,278 2010-06-30, 01:03 AM
Last Post: BobAtTorrey
  HVR-4400, DVB-T works, DVB-S does not work agerdin 5 2,762 2010-05-30, 07:01 PM
Last Post: agerdin
  Trying to get gbpvr to work with Hauppauge HVR-1600 over analog Deltaforce229 6 2,540 2010-05-29, 02:31 AM
Last Post: Deltaforce229
  Scheduled EPG update doesn't work? allstarnz 4 2,011 2010-05-12, 07:38 AM
Last Post: allstarnz
  Need to mouse click playback screen before remote will work? acb 3 1,924 2010-04-24, 11:35 PM
Last Post: acb
  Live TV and TV Guide don't work in Windows 7 colinnwn 9 2,922 2010-04-24, 03:12 AM
Last Post: whurlston

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

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

Linear Mode
Threaded Mode