INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Playlist replaces special characters with '?'  (Read 938 times)

Juke

  • Recent member
  • *
  • Posts: 13
Playlist replaces special characters with '?'
« on: June 18, 2018, 05:23:34 pm »

Running Media Center v24.0.25 on a Mac OS v10.13.5...

After syncing a playlist/music files to a Flash drive (using .m3u format), MC fails to import some of the files in the playlist.  The problem is that file names containing special characters are incorrectly listed in the playlist.m3u file.  Example:

./../Music/Cesária Évora/Cesaria/01-Cesária Évora - Petit Pays.flac

appears in the playlist.m3u file as:

./../Music/Cesa?ria E?vora/Cesaria/01-Cesa?ria E?vora - Petit Pays.flac

The Music file is saved with the correct name on the Flash drive.

If I manually edit the playlist.m3u file to correct the file name, that file will then import just fine.

My conclusion is that it's a bug in the latest MC.  Let me know if there is a setting that eliminates the problem.

I found earlier posts that report similar problems in earlier versions of MC:

https://yabb.jriver.com/interact/index.php/topic,114769.msg793618.html

https://yabb.jriver.com/interact/index.php/topic,114396.msg804043.html

In the second thread, you'll see a script I wrote to flag the invalid file names so I can manually fix them before I attempt to import the playlist.

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Logged

Juke

  • Recent member
  • *
  • Posts: 13
Re: Playlist replaces special characters with '?'
« Reply #2 on: June 19, 2018, 10:08:19 am »

Updated to 24.034.  The problem is different, but still there:

$ diff old.playlist.m3u playlist.m3u:

< ./../Music/Cesa?ria E?vora/Cesaria/01-Cesa?ria E?vora - Petit Pays.flac
---
> ./../Music/Ces?ria ?vora/Cesaria/01-Cesa?ria E?vora - Petit Pays.flac

and here's what it should have looked like:

./../Music/Cesária Évora/Cesaria/01-Cesária Évora - Petit Pays.flac

Logged

Juke

  • Recent member
  • *
  • Posts: 13
Re: Playlist replaces special characters with '?'
« Reply #3 on: June 19, 2018, 10:42:04 am »

Hold on.  I should not have used the diff command to see the differences.  When I vi or emacs the file, I can see that the Artist and Album are listed correctly, but the song title is still broken.  Here's the line copied from the playlist.m3u created under MC v24.0.34:

./../Music/Cesária Évora/Cesaria/01-Cesa?ria E?vora - Petit Pays.flac

Note, the album name "Cesaria" - without special characters - is the way it was ripped.  But scanning other entries in the playlist, I see that those album names containing special characters appear correctly.
Logged
Pages: [1]   Go Up