[mythtv-commits] Ticket #6869: Subtitles not working for avi with multiple dots in filename

MythTV mythtv at cvs.mythtv.org
Wed Aug 19 09:02:12 UTC 2009


#6869: Subtitles not working for avi with multiple dots in filename
----------------------------------------------+-----------------------------
 Reporter:  Paul Kendall <paul at kcbbs.gen.nz>  |       Owner:  ijr    
     Type:  defect                            |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  MythTV - General                  |     Version:  unknown
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 If you have an avi file such as a.b.avi and subtitle file a.b.srt, the
 subtitle file is not found.

 The code in revision [20879] has a small bug using the QFileInfo::baseName
 instead of ::fileName. The docs for ::baseName say that it is up to the
 first '.'. There is also code after that call to file the last '.', which
 will then never be used.

 Either use the ::baseName call passing 'true' and remove the magic remove
 the extension or just call ::fileName.

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


More information about the mythtv-commits mailing list