[mythtv-commits] Ticket #5480: Patch for ipodexport.pl to use Storage Groups

MythTV mythtv at cvs.mythtv.org
Wed Apr 15 15:39:00 UTC 2009

#5480: Patch for ipodexport.pl to use Storage Groups
 Reporter:  Shawn Flynn <shawn at shawnflynn.com>  |        Owner:  kormoc    
     Type:  patch                               |       Status:  closed    
 Priority:  minor                               |    Milestone:  unknown   
Component:  contrib                             |      Version:  head      
 Severity:  medium                              |   Resolution:  worksforme
  Mlocked:  0                                   |  

Comment(by Shawn Flynn):

 Looking at the current trunk copy of ipodexport.pl, I don't see where this
 error has been fixed.

 $basename is only referenced once in the file (line 124) and as such is
 uninitialized when passed to $storagegroup->FindRecordingDir. The
 FindRecordingDir routine in StorageGroup.pm will be unable to find the
 file (since the name passed to it is an unitialized value) and will return
 the last storage group directory that it checked. This will in fact work
 if you only have a single storage location defined, but will fail to find
 the file if there are multiple directories or storage groups defined.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5480#comment:3>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list