Opened 16 years ago
Closed 16 years ago
#6271 closed enhancement (wontfix)
mythvideo storagegroups
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Plugin - MythVideo | Version: | unknown |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
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
Attachments (2)
Change History (3)
Changed 16 years ago by
Attachment: | 19997.vidsg.patch added |
---|
Changed 16 years ago by
Attachment: | create-mythvideo-rollback.sh added |
---|
comment:1 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Hi George,
Thanks a lot for this patch-- It seems that the decision that we've come to for now is that .22 will have SG and local video groups coexist side by side. If in the future we go to an SG-only setup, then we'll need code a bit like this as well as some code for the metadata image migration. When/if the prerequisite parts of #4623 get applied and if we go SG only for videos (still some issues to work out w/ that) we can revisit this (and I'll definitely solicit your help on the list. Closing for the moment.