2019-03-12, 12:46 AM
jksmurf Wrote:Seems like most of the hundreds of hours are by users...I suspect you're right

2019-03-12, 12:46 AM
jksmurf Wrote:Seems like most of the hundreds of hours are by users...I suspect you're right ![]()
2019-03-15, 09:16 AM
sub Wrote:You might be able to look at running a batch file for your blaster, and starting the blaster from there with high priority. Right after several more (hundreds of ![]() GXPC4312H_StarterUUTX.bat calls GXPC4312H_UUTX.bat GXPC4312H_StarterUUTX.bat sets the priority for GXPC4312H_UUTX.bat As I said it works from the command line but it doesn't do anything in NextPVR? Seems odd? Executable: C:\Users\Public\NPVR\ChanChg\GXPC4312H_StarterUUTX.bat Arguments {channel} GXPC4312H_StarterUUTX.bat Code: REM GXPC4312H_UUTX.bat Code: @echo off Anything noticeable in the logs? btw I also for the Pronto and irsend Codes for my Global Cache blaster but the GC people don't really have a blaster exectuable (too low tech for that device) as they rely on many other vendors to write horribly complex software for it. After some pestering they provided me an exe that will send codes via the IP Address of the GC but I would have to write ANOTHER batch file to send the codes seperately as their executable doesn't "do" {Channel_d1} or read off an IR Def as arguments. They gave me this as a starter ... Code: @echo off I have also been experimenting with TST10.exe to do a similar thing... don't change that dial... Meanwhile, on the plus side, I'm not actually watching any TV at all, as all my evenings are spent chasing blaster commands.... k.
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 |
2019-03-15, 11:23 AM
Does something a bit more simple help ...
bat1.cmd Quote:set channel=%1 bat2.cmd Quote:c:\folderx\folderz\uutx.exe blah blah %channel% blah Plus NextPVR is able to provide the three digits as separate values. This would allow you to run uutx three times and send one digit each time that you run uutx. Might be more reliable.
2019-03-15, 12:23 PM
Cheers Graham will give it a whirl tomorrow probably.
I thought the {channel_d1}, {channel_d2}... {channel_d4} arguments were exclusive to usbuirtsend?
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 |
2019-03-15, 03:43 PM
jksmurf Wrote:Meanwhile, on the plus side, I'm not actually watching any TV at all, as all my evenings are spent chasing blaster commands....lol ![]()
2019-03-15, 03:47 PM
jksmurf Wrote:I thought the {channel_d1}, {channel_d2}... {channel_d4} arguments were exclusive to usbuirtsend?No. When you setup a blaster in NextPVR you can specify the executable to run and any command line parameters to pass to the executable. You can make that command line anything you need to. Before running the executable though, NextPVR replace {channel} in the parameters with the channel number, and it'll replace {channel_d1}, {channel_d2}... {channel_d4} with a digit. The executable never actually sees these {token} type parameters, they are replaced by numbers prior to the executable being run.
2019-03-16, 01:54 PM
jksmurf Wrote:GXPC4312H_StarterUUTX.batI'd say make sure to use a the full path to GXPC4312H_UUTX.bat in the SET command line. When the batch file is run from NextPVR, the current directory is typically different from what it is when run from a command prompt.
2019-03-17, 07:27 AM
Graham Wrote:Does something a bit more simple help ... Hiya, It seems I'm terrible with batch files. This is what I am trying but it does not quite work. The echo is just so I can see what is going on. Bat1.bat Code: REM Bat2.bat Code: @echo on If I run the batch from the command line with GXPC4312H_StarterUUTX 325 it just says (3 times) Code: Error: missing IRCodeName. However if I run it from the command line with GXPC4312H_StarterUUTX 3 2 5 it works (i.e. with spaces between the numbers). It works but sometimes misses digits, although that is a separate problem. It also spawns a new command window each time i.e. it doesn't go away? So I thought OK I will now try incorporating {channel_d1}{channel_d2}{channel_d3} in the calling batch In NextPVR) as the channel arguments. That doesn't work for me, no numbers come up at all. Code: 019-03-17 15:09:02.602 [INFO][40] Running blaster: C:\Users\Public\NPVR\ChanChg\GXPC4312H_StarterUUTX.bat 0 5 2 If I just have ONE argument {channel} that does not work either. Any other suggestions please? k.
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 |
jksmurf Wrote:This is what I am trying but it does not quite work. I'm not sure what you are doing with batch file names ... You give examples of files called bat1.bat and bat2.bat but the batch file "start"ed by bat1.bat is called GXPC4312H_UUTX.bat You can put an EXIT command at the end of a batch file to force the batch file to end. There is a SLEEP N command that cause a batch file to wait for N seconds ... This might help if you pause for a second between each of the three executions of uutx. Also, I would experiment with and without the /B in the START command. Also, I would try the three digit version without the bat1 and bat2 malarkey ... Set NextPVR to run the three digit version (with three executes of uutx) ... If it misses digits, try adding a SLEEP 1 between each execute.
2019-03-17, 01:14 PM
Since -f means filename and you don't change directories in your batch file you would need to add the path before the filename when you call this
-fGXPC4312H.ir Martin |
|