2010-11-06, 07:07
outleradam Wrote:I didn't think you'd make your terminal wide enough to handle the table. it would have been multiple lines of stuff.
You will not need to use the python bindings for this at all. Your version will handle the 'old skool' methods. You may have a bad password in mythicalSetup.
ok... try this:
Code:x=`mysql -umythtv -pmythtv -e 'use mythconverg; select basename from recorded where starttime not like "" ;'|sed -n 2p`
filename=`find $x|sed -n 1p`
mythicalLibrarian "$filename"
Code:
x=`mysql -umythtv -pmythtv -e 'use mythconverg; select basename from recorded where starttime not like "" ;'|sed -n 2p`
filename=`find $x|sed -n 1p`
find: `1036_20101103123000.mpg': No such file or directory
mythicalLibrarian "$filename"
mythicalLibrarian --:invalid pattern
usage: mythicalLibrarian 'path/to/file' ['title'] ['subtitle']
usage: mythicalLibrarian --mode [parameter] [parameter]
items in brackets are [context sensitve]
ensure you have set the user settings set properly and run
--mythicalDiagnostics before using mythicalLibrarian
in --scan mode or as a UserJob.
For more information type: mythicalLibrarian --help or --special
done.