[mythtv] mutliple storage directories idea... ?
    Michael T. Dean 
    mtdean at thirdcontact.com
       
    Thu Nov  3 13:26:11 EST 2005
    
    
  
On 11/03/05 13:14, Devan Lippman wrote:
>On 11/2/05, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>  
>
>>Line 1222 of programinfo.cpp is the culprit, but unfortunately, I can't
>>see an easy way to fix it. We can't just trim the RecordFilePrefix off
>>the left because it won't work with multiple hosts...
>>
>>
>>http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/programinfo.cpp?rev=7677#L1217
>>
>>I can't think of a non-invasive approach to use. Ideas?
>>
>Maybe something like:
>  1221  if (!pathname.isEmpty())
>  1222      retval = pathname.mid(pathname.findRev( '/'));
>  1223  else
>  
>
That's doing the same as the existing code--it strips off all 
subdirectory information (i.e. takes the filename at the end of the path 
only)--right?
Mike
    
    
More information about the mythtv-dev
mailing list