[mythtv-users] Moving recordings between storage directories

Chris Pinkham cpinkham at bc2va.org
Tue Jul 24 16:34:41 UTC 2007

* On Tue Jul 24, 2007 at 08:43:55AM -0400, Steven Adeff wrote:
> If Myth finds the recording to actually be in a different storage
> group will it automatically update the database so in the future it
> will find it "faster"? Which is I assume the only reason to store what
> storage group it is stored in the database at all?

No, it will not automatically update the DB.  I didn't want to build in
this much logic, because the same directory could be in multiple Storage
Groups on a single or multiple backends.  Searching the other Storage
Group directories is just a last-ditch attempt to find the file if it is
not found in the proper Storage Group.  One of my original thoughts
behind this was also to allow archiving of files to other storage without
touching the DB.  As long as the other storage directory was listed in
at least one Storage Group, then Myth would still be able to find the

> I'm trying to think of how to best set up my TVRage script to use the
> Storage Groups feature and this part slightly baffled me =)

The code would have to be modified in quite a few places to allow
changing the DB and it would always be accurate if the same directory
was listed twice, so I thought it best to leave the DB alone.


More information about the mythtv-users mailing list