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

MythTV mythtv at cvs.mythtv.org
Thu Aug 20 04:44:22 UTC 2009


#6869: Subtitles not working for avi with multiple dots in filename
----------------------------------------------+-----------------------------
 Reporter:  Paul Kendall <paul at kcbbs.gen.nz>  |        Owner:  danielk 
     Type:  defect                            |       Status:  assigned
 Priority:  trivial                           |    Milestone:  unknown 
Component:  MythTV - General                  |      Version:  head    
 Severity:  low                               |   Resolution:          
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------

Comment(by Paul Kendall <paul at kcbbs.gen.nz>):

 Actually, the patch does work. By using fileName instead of baseName you
 get the full filename and the code under the path strips of the part after
 and including the last dot.

 The current code works if there is only a single dot because the baseName
 call returns the name less the extension and the second part of the code
 is never executed!

 So, the patch won't break existing setups either.

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


More information about the mythtv-commits mailing list