[mythtv-users] Multiple directories

Michael T. Dean mtdean at thirdcontact.com
Sat Nov 17 16:34:24 UTC 2007


On 11/17/2007 07:17 AM, David Whyte wrote:
> On Nov 17, 2007 6:05 PM, Nicolas Will <nico at youplala.net> wrote:
>   
>> Where is that thing documented, anyway? I've looked at the code and the
>> wiki, but nothing.
>>     
>
> It isn't very well documented.  I have a user job that runs after
> every recording (required a SQL query to update all my previous
> schedules) which looks like 'myth_archive_job.pl --directory %DIR%
> --file %FILE%'
>
> For me, I grabbed the script from the contrib directory, configured
> the ArchiveDirEntries with the location to 'archive' to and told it to
> leave about 10GB of space in that drive.  My config looked like the
> following:
>
> my( @ArchiveDirEntries ) = (
> 	"/myth/recordings2/:10072"
> );
>
> If you have more than one 'archive' directory, add them in a comma
> separated fashion and the script will work through each starting at
> the top and 'archive' the file to the first directory that has enough
> free space.

See, also, the comments in the script.  Then, once you get it working,
fix the problem--document it on the wiki.  :)

Mike


More information about the mythtv-users mailing list