[mythtv-commits] Ticket #6271: mythvideo storagegroups
MythTV
mythtv at cvs.mythtv.org
Sun Feb 15 18:49:17 UTC 2009
#6271: mythvideo storagegroups
--------------------------------+-------------------------------------------
Reporter: gnassas at mac.com | Owner: awithers
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: unknown
Severity: low | Mlocked: 0
--------------------------------+-------------------------------------------
Following on Greg's commit earlier this patch converts videometadata from
a prefix/absolute path format to a storage group / relative path form.
#4623 is a prerequisite.
Only filenames are modified. I'd like to put coverfiles in the same
storage group so I can keep them next to videos but that isn't done here.
An update is needed to videoutils' GetVideoDirsByHost. It's basically a
two liner:
StorageGroup vids("Videos", host);
return vids.GetDirList();
Not sure what to do about empty hosts and I'm not set up to test remote
transfers so I didn't do anything.
Included is a script to save the current videos setup so you can roll back
painlessly. Use it like so:
sh create-mythvideo-rollback.sh > mv.1022.sql
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6271>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list