[mythtv-users] Announcement: Removable media management script for mythvideo

Pest789 pest789 at gmail.com
Fri Apr 23 06:52:20 UTC 2010


Just wanted to announce the availability of a python script I wrote:

http://code.google.com/p/mythadder/

It's launched by a udev rule any time a removable disk is connected and
mounted.  It scans the disk (quickly) for a configurable list of various
video file types.  Those it finds, it inserts into the mythvideo mysql
table.

Mythvideo recognizes them and makes them available to play.  Also, when you
update the metadata, download artwork, set parental level, etc, all those
changes are kept in a separate table when the disk is removed.

The disks are tracked by partition uuid and the files are tracked by inode
number, so you can move the files around on the disk and rename them, and
the script will always reattach the correct metadata to mythvideo the next
time it's connected.  It won't recognize the same file if you later move it
to a different drive, however.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100422/23fa2f97/attachment.htm>


More information about the mythtv-users mailing list