[mythtv-users] Moving recordings between storage directories

Steven Adeff adeffs.mythtv at gmail.com
Tue Jul 24 20:48:25 UTC 2007


On 7/24/07, Chris Pinkham <cpinkham at bc2va.org> wrote:
> * 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
> file.
>
> > 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.

ok, cool. Out of curiosity: so why the "groups" instead of just a list
of directories to look in with a "pecking order" for finding
recordings?

-- 
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list