Tuesday, May 02, 2006

Get a listing of all mythtv recordings

'mythls' script:

#!/bin/sh
mysql -B -u root --password=mypass mythconverg -e 'select chanid, starttime, endtime, title from recorded order by starttime' | tr -d ': -' | tr '\t' _ |
sed 's^.*^/mythtv/recordings/&.nuv^'

Actual filename doesn't include the title of the show, but this script prints the title to make it easy to identify the file.

0 Comments:

Post a Comment

<< Home