[mythtv-commits] Ticket #4802: myth_archive_job.pl fails to find recording directory if recording is on a different backend

MythTV mythtv at cvs.mythtv.org
Fri Feb 29 12:09:48 UTC 2008


#4802: myth_archive_job.pl fails to find recording directory if recording is on a
different backend
---------------------------------------------------+------------------------
 Reporter:  Chuck Peters <chuck.peters at gmail.com>  |       Owner:  ijr    
     Type:  defect                                 |      Status:  new    
 Priority:  minor                                  |   Milestone:  unknown
Component:  mythtv                                 |     Version:  unknown
 Severity:  medium                                 |     Mlocked:  0      
---------------------------------------------------+------------------------
 It seems the script grabs the dir from the recordings table of the machine
 it runs on, not the recording table of where the actual recording is.

 I worked around the problem with:
  my $directory = `/usr/local/bin/whichdirmythshow.sh $file`;

 and that shell script contains:
 #!/bin/bash
 # Which directory has the recording?
 if [ -f /lvm/home/mythtv/store/$1 ]; then
 echo -n /lvm/home/mythtv/store
 else
 #echo -n /400/media/store/$file
 echo -n /400/media/store
 fi

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


More information about the mythtv-commits mailing list