[mythtv-commits] Ticket #3883: mytharchive can not handle video files with back-ticks in their name

MythTV mythtv at cvs.mythtv.org
Sun Aug 26 16:09:38 UTC 2007


#3883: mytharchive can not handle video files with back-ticks in their name
----------------------------------------------+-----------------------------
 Reporter:  Russell Mora <rd.mora at gmail.com>  |       Owner:  paulh  
     Type:  defect                            |      Status:  new    
 Priority:  trivial                           |   Milestone:  unknown
Component:  mytharchive                       |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 Hopefully the summary says it all - the fix is quite simple too:

 Index: mytharchive/mythburn/scripts/mythburn.py
 ===================================================================
 --- mytharchive/mythburn/scripts/mythburn.py    (revision 14309)
 +++ mytharchive/mythburn/scripts/mythburn.py    (working copy)
 @@ -319,6 +319,7 @@

  def quoteFilename(filename):
      filename = filename.replace('"', '\\"')
 +    filename = filename.replace('`', '\\`')
      return '"%s"' % filename

  #############################################################

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


More information about the mythtv-commits mailing list