2010-11-06, 05:51
ok... then lets try it this way....
and you should see a bunch of information at this point. If not, try to change that sed to sed -n 3p
Please copy the output of this into a pastebin.
Code:
x=`mysql -umythtv -pmythtv -e 'use mythconverg; select basename from recorded where starttime != "" ;'|sed -n 2p`
echo $x
mysql -umythtv -pmythtv -e "use mythconverg; select * from recorded where basename like '$x';"
and you should see a bunch of information at this point. If not, try to change that sed to sed -n 3p
Code:
[font=monospace]myfile=`locate $x|sed -n 1p[/font]`
echo $myfile[font=monospace]
MythDataGrabber $myfile
mythicalLibrarian $myfile[/font]