[mythtv-users] Myth not calling channel change script
Kye Macdonald
kyemacdonald at gmail.com
Sun Aug 17 03:37:38 UTC 2008
Hello All,
I am having trouble completing my myth setup as I cannot get Myth to
call the channel change script and I can't find any error messages.
I've rebuilt the whole thing twice from scratch now and I'm getting
close to going insane.
The system is an AMD 5000 x2 on a Gigabyte Nvidia based motherboard with
7600GT graphics card. At the moment it only has the one tuner in it a
Hauppauge HVR-1300. This is a dual digital / analogue tuner. This
system is only used for Myth. I am using an MCE remote with reciever
and blaster (Philips V2). OS is Ubuntu 8.04 with Myth installed as an app.
First install I had all the channels installed and worked with guide
etc. Split into two groups of Free to Air and Foxtel. Channel changing
works fine on the DVB-T half of the card and it moves from Digital or
Analogue fine. Analogue input is fine and I have sound and picture from
the foxtel STU.
My only problem is that I cannot get Myth to call the script to send the
signal through the IR Blaster. Command line works fine - ie "irsend
send_once sky select" works fine as does the script.
#!/bin/sh
REMOTE_NAME=sky
/usr/bin/irsend SEND_ONCE $REMOTE_NAME select
for digit in $(echo $1 | sed -e 's/./& /g'); do
/usr/bin/irsend SEND_ONCE $REMOTE_NAME $digit
done
/usr/bin/irsend SEND_ONCE $REMOTE_NAME select
I have it sending the select before and after to remove the chance of a
2 digit entry forcing a wait on the foxtel box. It runs fine from
terminal either with a channel supplied or not.
To ensure its not a lirc problem I have also tried this script in its place
#!/bin/sh
date >> ~/test_script_output.log
But that file is never created...
permissions on the script are
-rwxrwxrwx 1 root root 217 2008-08-17 11:55 change_foxtel2.sh
When I run Mythfrontend with full verbose this is all I can find
regarding the channel change.
008-08-17 13:26:35.201 TV: CommitQueuedInput() livetv(1) qchannum()
qchanid(0)
2008-08-17 13:26:35.201 write -> 28 39 QUERY_RECORDER
1[]:[]CHECK_CHANNEL[]:[]
2008-08-17 13:26:35.202 SetAudiotime set=1218943595.202646, audt=11954
atc=12833 tb=155396 sb=55044 eds=4416721 abps=4 sf=1
2008-08-17 13:26:35.202 AO: audio waiting for space on soundcard: have
5164 need 6144
2008-08-17 13:26:35.202 read <- 28 1 0
2008-08-17 13:26:35.203 TV: ChangeChannel(0, '101')
2008-08-17 13:26:35.203 write -> 28 49 QUERY_RECORDER
1[]:[]CHECK_CHANNEL_PREFIX[]:[]101
2008-08-17 13:26:35.203 GetAudiotime now=1218943595.203580,
set=1218943595.202646, ret=0, audt=11954 sf=1
2008-08-17 13:26:35.204 NVP: A/V Divergence: 1.2727, Rate: -0.015925,
Warpfactor: 1.01022, warpfactor_avg: 1.00017
2008-08-17 13:26:35.208 SetAudiotime set=1218943595.208085, audt=11959
atc=12833 tb=154436 sb=54084 eds=4416721 abps=4 sf=1
2008-08-17 13:26:41.512 AO: audio waiting for space on soundcard: have
5172 need 6144
2008-08-17 13:26:41.512 GetAudiotime now=1218943601.512163,
set=1218943601.511958, ret=0, audt=1939 sf=1
2008-08-17 13:26:41.513 NVP: A/V Divergence: -1.00542, Rate: 0.018475,
Warpfactor: 0.992263, warpfactor_avg: 1.00016
2008-08-17 13:26:41.517 SetAudiotime set=1218943601.517259, audt=1944
atc=2373 tb=76628 sb=54100 eds=4460170 abps=4 sf=1
2008-08-17 13:26:41.517 AO: audio waiting for space on soundcard: have
6108 need 6144
2008-08-17 13:26:41.518 TV: CommitQueuedInput() livetv(1) qchannum()
qchanid(0)
2008-08-17 13:26:41.518 write -> 28 39 QUERY_RECORDER
1[]:[]CHECK_CHANNEL[]:[]
2008-08-17 13:26:41.520 read <- 28 1 0
2008-08-17 13:26:41.520 TV: ChangeChannel(0, '105')
2008-08-17 13:26:41.521 write -> 28 49 QUERY_RECORDER
1[]:[]CHECK_CHANNEL_PREFIX[]:[]105
2008-08-17 13:26:41.522 SetAudiotime set=1218943601.522560, audt=1949
atc=2373 tb=75696 sb=53168 eds=4460170 abps=4 sf=1
2008-08-17 13:26:41.522 GetAudiotime now=1218943601.522777,
set=1218943601.522560, ret=0, audt=1949 sf=1
2008-08-17 13:26:41.522 AO: Broadcasting free space avail
2008-08-17 13:26:41.522 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-08-17 13:26:41.523 SetAudiotime set=1218943601.523163, audt=1950
atc=2373 tb=75584 sb=59200 eds=4460170 abps=4 sf=1
2008-08-17 13:26:41.523 AO: audio waiting for space on soundcard: have
1008 need 6144
2008-08-17 13:26:41.524 read <- 28 19 1[]:[]1[]:[]0[]:[]X
2008-08-17 13:26:41.524 write -> 28 42 QUERY_RECORDER
1[]:[]CHECK_CHANNEL[]:[]105
2008-08-17 13:26:41.525 read <- 28 1 1
2008-08-17 13:26:41.525 Setting PCM volume to 0
2008-08-17 13:26:41.525 Volume range is 0 to 255, mult=0.392157
2008-08-17 13:26:41.525 channel 0 vol set to 0
2008-08-17 13:26:41.525 Setting PCM volume to 0
It doesn't even look like it tried to call the script. There are no
fails in Auth.log or anywhere else I can think of looking.
HELP!!!
I've formatted and re-installed from scratch twice now. I have followed
the instructions on http://www.ozmyth.com/ for the most part. Including
importing his Mysql for the channels.
I have also tried getting myth to call the test script in its startup
command section under general but again it doesn't seem to run it.
Help.. Please
More information about the mythtv-users
mailing list