[mythtv-users] Script to keep DCT-6xxx boxes alive
Gabe Rubin
gaberubin at gmail.com
Sat Jun 30 03:05:02 UTC 2007
I am still unable to get it work. It is getting a value of "null" for GUID.
I put some echo lines in there:
# then get the GUID from the database...
echo 'Tuner '${LOCAL_TUNER_ARRAY[$i]}' is not busy'
SQL="SELECT videodevice FROM capturecard where
cardid = ${LOCAL_TUNER_ARRAY[$i]}"
GUID=`echo $SQL | $MYSQL`
echo "guid is $GUID"
GUID="0x"`echo $GUID | tr [:upper:] [:lower:]`
# plugreport's GUID is in lower case with a $
echo "guid is $GUID"
# determine which firewire node the tuner is on...
NODE=`plugreport | awk '{if (($1 == "Node")
&& ($4 == "'"$GUID"'")) print $2}'`
echo "node is $NODE"
Here is the relevant part of the log:
Tuner 3 is not busy
guid is NULL
guid is 0xnull
libiec61883 error: error reading oMPR
libiec61883 error: error reading iMPR
node is
Error: Tuner '3' was not found in plugreport
Finish time: Fri Jun 29 19:52:49 PDT 2007
More information about the mythtv-users
mailing list