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 … 75 76 77 78 79 … 433 Next »
Channel changer arguments

Channel changer arguments
qznaught
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Nov 2017
#1
2017-11-01, 02:03 AM (This post was last modified: 2017-11-01, 02:09 AM by qznaught.)
I am using a USB-UIRT as my second channel changer.
I have a batch file that uses uutx.exe to change the channel and use a 3 digit string as argument to change channel
If I enter channel.bat 234 in cmd.exe it changes the channel on my set top box to channel 234.
However when I entered this in nextpvr it did not change the channel.
Here is relavant part of log and attached is screen shot of device setup.

2017-10-31 21:15:24.788 [DEBUG][10] About to tune graph to:
<tuning>
<type>HDPVR</type>
<locator>
<channel>3</channel>
<input>0</input>
<audio_input>RCA Audio Input</audio_input>
<blaster_executable>C:\Windows\System32\cmd.exe</blaster_executable>
<blaster_args>/c c:\users\anita\desktop\uutx_0_3\channel.bat {channel}</blaster_args>
</locator>
</tuning>


Can anyone tell me what I am doing wrong
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2017-11-01, 02:09 AM
Can you post the logs show and attempt to either watch or record this channel?
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#3
2017-11-01, 03:08 AM
It might be that the recording service runs as a System account and doesn't have access to C:\users\anita. Can you try it somewhere else like C:\Temp or C:\Users\Public\NPVR\scripts?
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
qznaught
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Nov 2017
#4
2017-11-01, 03:17 AM
sub Wrote:Can you post the logs show and attempt to either watch or record this channel?

Here is part of log preceding the above the file is too big for me to attach.

2017-10-31 21:15:24.654 [DEBUG][10] DefaultDirectoryChoice: first
2017-10-31 21:15:24.654 [DEBUG][10] Preferred filename is 'Bull.S02E06.The.Exception.to.the.Rule'
2017-10-31 21:15:24.654 [DEBUG][10] allocating recording target filename: C:\Users\Public\Videos\Bull\Bull.S02E06.The.Exception.to.the.Rule.ts
2017-10-31 21:15:24.655 [DEBUG][10] About to start recording (4515 on 25): C:\Users\Public\Videos\Bull\Bull.S02E06.The.Exception.to.the.Rule.ts...
2017-10-31 21:15:24.655 [DEBUG][10] Free space 813954748416 (C:\)
2017-10-31 21:15:24.656 [INFO][10] HDPVRRecorder.StartStream(C:\Users\Public\Videos\Bull\Bull.S02E06.The.Exception.to.the.Rule.ts)
2017-10-31 21:15:24.656 [INFO][10] Running blaster: C:\Windows\System32\cmd.exe /c c:\users\anita\desktop\uutx_0_3\channel.bat 3
2017-10-31 21:15:24.788 [DEBUG][10] About to tune graph to:
<tuning>
qznaught
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Nov 2017
#5
2017-11-01, 04:36 AM (This post was last modified: 2017-11-01, 04:45 AM by qznaught.)
ElihuRozen Wrote:It might be that the recording service runs as a System account and doesn't have access to C:\users\anita. Can you try it somewhere else like C:\Temp or C:\Users\Public\NPVR\scripts?

I copied the cmd.exe file and .bat file to C:\users\public\npvr\scripts and put
executable: C:\users\public\npvr\scripts\cmd.exe
argument /c channel.bat {channel}

it did not work

I tried coping to C:\program file (x86)\NPVR\ (This is where I had to copy Haupblast.exe to make my other colussus and set top box work)
executable: C:\program file (x86)\NPVR\\cmd.exe
argument /c channel.bat {channel}

Originally this did not work but I had failed to copy uutx into the folder after I did that it finally worked.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#6
2017-11-01, 05:52 AM
Quote:2017-10-31 21:15:24.656 [INFO][10] Running blaster: C:\Windows\System32\cmd.exe /c c:\users\anita\desktop\uutx_0_3\channel.bat 3
It had definitely run that command then. There was possibly something wrong with your batch file, like assuming the current path when executed. You probably just needed an explicit "cd ......" command, or full paths to any executables or data files.
steve232
Offline

Member

Posts: 83
Threads: 14
Joined: Jan 2005
#7
2017-11-10, 07:47 PM
I have the same setup
Exec: C:\uutx\Pace110_Changer.bat
Arguments: {channel} Pace110-z3.dat

Pace110_Changer.bat:

rem Remote# is %2
rem Dishchanger.bat {channel #} {Remote File Name #}
rem usbuirt fix
set sleep=0
set loops=5
:WAIT
IF EXIST c:\uutx\usblock.dat (GOTO PING) ELSE (GOTO CC)
TongueING
timeout 1
set /A sleep=%sleep%+1
IF %sleep% EQU %loops% GOTO ERROR
GOTO WAIT
:CC
ECHO wait_lock > c:\uutx\usblock.dat
#Hasn't been working, may not need it?
#c:\uutx\devcon.exe restart USB\VID_0403*
set input=%1
#timeout 2
if not "%input:~0,1%" == "" c:\uutx\uutx.exe -r1 -f%~dp0%2 %input:~0,1%
if not "%input:~1,1%" == "" c:\uutx\uutx.exe -r1 -f%~dp0%2 %input:~1,1%
if not "%input:~2,1%" == "" c:\uutx\uutx.exe -r1 -f%~dp0%2 %input:~2,1%
if not "%input:~3,1%" == "" c:\uutx\uutx.exe -r1 -f%~dp0%2 %input:~3,1%
del c:\uutx\usblock.dat
exit
:ERROR
ECHO %DATE% %TIME% >> c:\uutx\changer_error.log
GOTO :CC

Pace110-z3.dat contains the IR changer codes
« 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 26,998 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,611 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 7,672 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,682 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,699 2021-02-17, 02:59 PM
Last Post: Graham
  send channel chanes via winLIRC?? chef Paula 67 12,941 2021-02-11, 07:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,897 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 7,905 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,028 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,835 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