[mythtv] Re: [mythtv-commits] Ticket #857: Patch to mythrename.pl to work correctly with slave backends

Michael T. Dean mtdean at thirdcontact.com
Thu Dec 22 19:48:01 EST 2005


MythTV wrote:

>#857: Patch to mythrename.pl to work correctly with slave backends
>-------------------------------------+--------------------------------------
> Reporter:  tom at redpepperracing.com  |       Owner:  ijr 
>     Type:  patch                    |      Status:  new 
> Priority:  minor                    |   Milestone:      
>Component:  mythtv                   |     Version:  head
> Severity:  low                      |  
>-------------------------------------+--------------------------------------
> This small patch updates mythrename.pl to use the hostname when deciding
> what records to process. I only use the --link option, so further testing
> may be required.
>  
>
If you check for hostname with the query, we won't get links to 
recordings recorded on other backends, even if the file exists on the 
filesystem (i.e. multiple backends share a recordings directory using 
NFS).  Since mythrename.pl checks for the existence of the file before 
creating the link, we shouldn't need to do this check.  As is, we 
(should) only get links to recordings that are available through the 
filesystem and recordings whose filies are not available are (should be) 
ignored.

If there's a specific problem/error you're trying to fix, more info 
would be nice...  :)

Mike


More information about the mythtv-dev mailing list