[mythtv] Storage Groups functionality

Chris Pinkham cpinkham at bc2va.org
Tue Feb 7 04:33:46 UTC 2006


>     > Date: Sun, 5 Feb 2006 23:33:24 -0500 (EST)
>     > From: "Chris Pinkham" <cpinkham at bc2va.org>
> 		      
>     >		      Do you have any specific ideas on how archiving would
>     > integrate with Storage Groups specifically?
> 
> I do, since this is something I'm looking at right this second; maybe
> my solution will give people some ideas.  I'm (going to be) archiving
> large amounts of data off Myth for later use in what amounts to a tape

<long reply deleted>

I still don't see what any of this has to do with the directory that
the recording was originally in other than the fact that the location
of the archived file is not the original location and hence could be
considered to be in another Storage Group.

> One unsolved problem:  It'd be really, really nice to be able to take
> an archived program (which has presumably been deleted from "recorded"
> because it's been deleted from the UI) and reinsert all the relevant
> table data again once the video bits have been restored to disk.  Is
> it sufficient to simply save the relevant row from the "recorded"
> table and reinsert it?  (I'm assuming that mythcommflag --rebuild will

IMHO, the archiving discussion is drifting off-topic, but why even delete
the data from the database at all?  All you need to do is flag the
recording so that it is not shown in the recordings list if it is
archived.  When an 'archive' was restored (by either mounting a disk
or external drive, etc., then you just have to mark the archived
recordings on that media as available and they show up in the Watch
Recordings screen.

You're making this way too complicated, a simple 'archived' flag in
the recorded table along with an archive location would handle it.

Again, I think the archive discussion is drifting off-topic, it has
virtually nothing to do with Storage Groups that I can see.

-- 
Chris



More information about the mythtv-dev mailing list