UTF-8 support in M3U Playlists?


Userlevel 2
I've used EasyTag on my Linux machine to generate a number of M3U playlists. Most work fine in Sonos, but those which reference filenames or directories containing extended UTF-8 characters (é, ü, ß, etc) do not.

These playlists work fine anywhere else I've tried (Banshee Music Player, UPnPlay Android app), and also the directories and filenames are accessible when accessed by other routes in the Sonos controller software itself. The Sonos software also has no trouble with UTF-8 in MP3 tags.

Would it be possible for UTF-8 support to be added?

13 replies

Userlevel 2
I've also found that UTF-8 isn't supported in PLS playlists either. How do the folks on the German/French sections of this forum get on? Is there a language-specific tweak that handles the extended characters?
Userlevel 2
I have the same problem as the OP; Sonos doesn't understand references to files with paths containing extended characters.

Do M3U files have to be encoded in a certain way to work with Sonos?
Userlevel 6
Badge +16
I have the same problem as the OP; Sonos doesn't understand references to files with paths containing extended characters.

I beg to disagree. In my case: all music for example from the French artist Gérard Manset is being displayed in Sonos as it should be; with à, ë, é and so on. The files Sonos uses for indexing are stored in folders with the original album names, for example \My BookWorld\Gérard Manset\Rien à Raconter\La liberté.mp3

Do M3U files have to be encoded in a certain way to work with Sonos?

It may very well be a language setting problem on your computer.
Badge
Hi
I also can access files with accented European characters with English language as the default. However, I note that the OP mentions playlists which may be the issue - files can be accessed directly but not through playlists. So either the file name is not encoded correctly in the playlist or Sonos has problems with accented characters in file names taken from playlists.
Andy
Userlevel 2
It may very well be a language setting problem on your computer.

Of course, and it may be that my M3U files are incorrectly encoded. I would like to find out what's wrong so I can correct it, hence my question. FWIW other applications can play the files without any problems.

And if it wasn't clear it's just playlists that aren't working. Sonos has no problem at all with files that are indexed directly.
Userlevel 6
Badge +16
Of course, and it may be that my M3U files are incorrectly encoded. I would like to find out what's wrong so I can correct it, hence my question. FWIW other applications can play the files without any problems.

And if it wasn't clear it's just playlists that aren't working. Sonos has no problem at all with files that are indexed directly.


Maybe this will help: 'm3u files properly use the Latin-1 charset. The Unicode version of "m3u" is "m3u8", which uses UTF-8 Unicode characters.'
Userlevel 2
Maybe this will help: 'm3u files properly use the Latin-1 charset. The Unicode version of "m3u" is "m3u8", which uses UTF-8 Unicode characters.'

Yeah, I tried that. Sonos didn't pick up the m3u8 files at all.
Userlevel 6
Badge +16
Yeah, I tried that. Sonos didn't pick up the m3u8 files at all.

You could consider using MP3Tag. It creates playlists with á, ü, ê etc that Sonos displays correctly - I just tried.
Userlevel 2
You could consider using MP3Tag. It creates playlists with á, ü, ê etc that Sonos displays correctly - I just tried.

Thanks for the tip, alas I'm on OS X, not Windows (the playlists are generated by a custom Python script).

Anyway, I never got Sonos to read my M3U files properly. Instead I now create the playlists in the WPL (Windows Media Player Playlist) format. This works great and all extended characters are recognized correctly.
Userlevel 2
can i ask how you're saving playlists in WPL format on a mac?
Userlevel 2
actually, i just found a command line solution on the mac. you have to convert the file from utf to ansi like this:

iconv -f UTF8-MAC -t CP1252 playlist.m3u > playlist_out.m3u

the playlist_out file works fine for me, even with non-latin characters.

cheers
Wow it is still not fixed or even more tolerance?
I have this issue when i save playlists on my Synology NAS with its own audio station.
I can play the files with audio station on Sonos very well. But when i am using the sonos app it does not work.

I have to convert the playlist to ANSI encoding as well.

@SONOS
Can you please implement UTF-8 compatibility?
I have to second Misery42. Can you please add UTF-8 compatibility? I'd expect at least .m3u8 to work...

Reply