[mythtv-users] Best way to move recordings to tier-2 storage

Michael T. Dean mtdean at thirdcontact.com
Sun Mar 28 23:15:25 UTC 2010


On 03/28/2010 06:09 PM, Raymond Wagner wrote:
> On 3/28/2010 16:50, Larry K wrote:
>> I have mythvideo set up to use a NFS-mounted file system on the NAS.  
>> I've been using the mythrename script to create meaningful file name 
>> links, which I then copy over to the mythvideo directory.  The 
>> problem is, I get really sparse metadata within mythvideo, which I 
>> can sorta overcome if create the right filename or path structure for 
>> mythvideo to go discover, as documented here: 
>> http://www.mythtv.org/wiki/MythVideo_File_Parsing
>
> I put together a script to do exactly this several months ago.
>
> http://svn.mythtv.org/trac/browser/branches/release-0-23-fixes/mythtv/contrib/user_jobs/mythvidexport.py 
>
>
> The script will copy any TV show or Movie into your MythVideo folder, 
> with a user defined filename format (the defaults work with the above 
> parsing scheme), and pull any respective metadata from your MythVideo 
> defined grabbers.

Or if you want to keep it in MythTV, use myth_archive_job.pl ( 
http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/user_jobs/myth_archive_job.pl 
), which will move files from one directory to another directory 
available on the recording host's file system.

So, basically just add the directory with the NAS file system to the 
Default storage group, and read 
http://www.mythtv.org/wiki/Storage_Groups_Weighting and 
http://www.gossamer-threads.com/lists/mythtv/users/424443#424443 and 
make sure you've set up the NAS file system's directory so it won't be 
used for actual recordings.

Mike


More information about the mythtv-users mailing list