[mythtv-commits] Ticket #6292: Mythmusic cannot play mp3 songs in greek filenames

MythTV mythtv at cvs.mythtv.org
Fri Mar 6 10:28:51 UTC 2009


#6292: Mythmusic cannot play mp3 songs in greek filenames
--------------------------------+-------------------------------------------
 Reporter:  yianniv             |        Owner:  stuartm
     Type:  defect              |       Status:  new    
 Priority:  minor               |    Milestone:  0.22   
Component:  Plugin - MythMusic  |      Version:  head   
 Severity:  medium              |   Resolution:         
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------

Comment(by yianniv):

 Last update: teething12's method is working!!

 Sorry to be so late in reporting it, I hadn't touched mythtv for a while.
 Yes, I am now certain that teething12's method is working for me, and I
 bet for others, should they try it. I think exiting mythtv completely and
 then restarting it  does it. Anyway, songs with non-English filenames play
 every single time now, with no exeptions.

 For the people who want to try it, I am providing the patch, although I
 must again state that it's teething12's work, not mine. I'm just reporting
 it.
 Please try it, as far as I'm concerned this problem has been fixed!!

 Maybe the people with the #6304 problem should give it a try, too.

 Thanks, again, everyone! This is such a great project!


 {{{
 ===================================================================
 --- mythplugins/mythmusic/mythmusic/filescanner.cpp     (revision 20041)
 +++ mythplugins/mythmusic/mythmusic/filescanner.cpp     (working copy)
 @@ -82,6 +82,7 @@
   */
  void FileScanner::BuildFileList(QString &directory, MusicLoadedMap
 &music_files, int parentid)
  {
 +
 QTextCodec::setCodecForLocale(QTextCodec::codecForName("ISO-8859-1"));
      QDir d(directory);

      if (!d.exists())

 }}}

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


More information about the mythtv-commits mailing list