[mythtv-commits] Ticket #5379: enhancement to mythrename.pl to rename a single recording

MythTV mythtv at cvs.mythtv.org
Mon May 19 14:50:42 UTC 2008


#5379: enhancement to mythrename.pl to rename a single recording
--------------------------------+-------------------------------------------
 Reporter:  johan at godfried.com  |       Owner:  ijr    
     Type:  enhancement         |      Status:  new    
 Priority:  minor               |   Milestone:  unknown
Component:  mythtv              |     Version:  0.21   
 Severity:  low                 |     Mlocked:  0      
--------------------------------+-------------------------------------------
 I have enhanced the mythrename.pl script so it can be called with the
 --file <FILENAME> option to rename only a single file in stead of a
 complete directory.

 This is useful if you want to have recordings available for multiple
 mediaplayers and want a meaningful name for the recording.

 I have set up the following userjob which is automatically run after each
 recording (The directory where recordings are stored is
 /MediaFiles/Capture):
 /usr/local/bin/mythrename.pl --link /MediaFiles/Recordings --format
 "%pY-%pm-%pd %pH:%pi - %T - %S" --file "%FILE%"

 Attached is the patch for the enhancement.

 I hope this enhancement is useful for others as well.

 Greetinx
 Johan Godfried

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5379>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list