[mythtv] [mythtv-commits] Ticket #3092: Ability to set the directory for each recording

Michael T. Dean mtdean at thirdcontact.com
Fri Feb 16 16:58:44 UTC 2007


On 02/16/2007 06:03 AM, MythTV wrote:
> #3092: Ability to set the directory for each recording
>
>  Matthew, I haven't seen the patch yet, so I don't know what it does, but
>  my gut feeling is that the recordings should stay where they are.
>  [[BR]]
>  The contrib/mythrename.pl script could be modified to create
>  subdirectories, though. (either when using the --link argument, or with a
>  new argument)
>   

The contrib/mythrename.pl script already does allow the creation of 
directories.  I use it all the time with the format string 
'%T/%Y%m%d-%H%i-%eH%ei-%S' (which creates directories according to the 
title of the show and links within that are organized by recording time).

As a matter of fact, I use a little script that calls mythrename.pl 
multiple times--each time creating a new directory of links using 
different formats (which means they're sorted differently)--giving me 
several "views" of my recordings.

The script is attached and is relatively self-explanatory.

Mike



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mythlink.sh
Url: http://mythtv.org/pipermail/mythtv-dev/attachments/20070216/a26c7057/attachment.diff 


More information about the mythtv-dev mailing list