2022-12-18, 07:15 PM
I'm trying to get this to work as described in the post, but with no success.
chchannel.bat
If I run the following on a command line all works fine and the channel changes:
C:\Windows\System32\cmd.exe /C C:\Users\Public\NPVR-Data\scripts\chchannel.bat 3 2 8
Under Devices I have Blaster Executable Path set to: C:\Windows\System32\cmd.exe
and channel field set to: {channel_d2} {channel_d3} {channel_d4}
The log file shows the channel arguments resolve correctly, but I can't get NextPVR to actually run it and change the channel.
See log file.
What am I missing?
chchannel.bat
Code:
@echo off
set /a d1=%1+7
set /a d2=%2+7
set /a d3=%3+7
adb shell input keyevent %d1% %d2% %d3%
If I run the following on a command line all works fine and the channel changes:
C:\Windows\System32\cmd.exe /C C:\Users\Public\NPVR-Data\scripts\chchannel.bat 3 2 8
Under Devices I have Blaster Executable Path set to: C:\Windows\System32\cmd.exe
and channel field set to: {channel_d2} {channel_d3} {channel_d4}
The log file shows the channel arguments resolve correctly, but I can't get NextPVR to actually run it and change the channel.
See log file.
What am I missing?