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

MythTV mythtv at cvs.mythtv.org
Fri Jun 27 16:59:02 UTC 2008

#5480: Patch for ipodexport.pl to use Storage Groups
 Reporter:  Shawn Flynn <shawn at shawnflynn.com>  |       Owner:  ijr    
     Type:  patch                               |      Status:  new    
 Priority:  minor                               |   Milestone:  unknown
Component:  contrib                             |     Version:  head   
 Severity:  medium                              |     Mlocked:  0      
 The storagegroup code in ipodexport.pl attempts to grab the storagegroup
 path without first initializing the value of $basename. The following
 patch will grab the correct $basename value from the 'recorded' table
 before attempting to find the file path from storagegroup.

 < $usage = "\nHow to use dvbradioexport.pl : \n"
 > $usage = "\nHow to use ipodexport.pl : \n"
 >     $query = "SELECT basename FROM recorded WHERE chanid=$chanid AND
 >     $query_handle = $connect->prepare($query);
 >     $query_handle->execute()  || die "Unable to query recorded table";
 >     my ($basename) = $query_handle->fetchrow_array;


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

More information about the mythtv-commits mailing list