Support and General Use > Audio Playback, Database and Playlists

ñ (spanish character): add to playlist not possible

<< < (2/4) > >>

Llorean:
That's a bug in MediaMonkey then (and notepad).

surfer:
Hmmm... let's take an example:

- i have a playlist "test" in mediamonkey with the track "señora" on it which i save as the file "test.m3u"
- i open it in the wordpad (or the simple "editor" as ANSI-coding) of winxp and see this:


--- Quote ---#EXTM3U
#EXTINFUTF8:243,Hildemaro - señora
#EXTINF:243,Hildemaro - señora
#UTF8:señora.mp3
señora.mp3
--- End quote ---

- i open it in the simple "editor" as UTF-8-coding and see this:


--- Quote ---#EXTM3U
#EXTINFUTF8:243,Hildemaro - señora
#EXTINF:243,Hildemaro - seora
#UTF8:señora.mp3
seora.mp3
--- End quote ---

- i can play the playlist "test.m3u" in winamp, foobar2000, drag it (with the track "señora.mp3") to the folder "playlists" on my rockbox-Ipod and play it in rockbox without problems. rockbox shows the entry on this playlist correctly as "señora".

But when i add this playling track again to the same playlist in rockbox it gets added as "señora" and can not be played because rockbox does not find the track.
 

changing the name to "m3u8"

to test what happens after renaming to "m3u8" i do the following:

- i save the mediamonkey playlist "test" 2 times to the directory "playlists" in rockbox and give them the names "test.m3u8"(with the track señora on it) and "test2.m3u8 (empty, without señora)

- "test.m3u8" can NOT be played because the entry already on this playlist gets renamed
to "se ora" (ñ desappears). i did not notice it before...sorry.

- now when i play the track "señora.mp3" from the directory "playlists" and add it to "test2.m3u8" it seems to get added to this playlist correctly as "señora" but i can play this second entry of the same track only in rockbox.

- i can NOT open "test2.m3u8" in winamp, foobar2000 or mediamonkey becuase m3u8 is not supported.
- when i rename "test2.m3u8" to "m3u" again and open this playlist in winamp, foobar2000 or mediamonkey the added entry on the playlist shows again wrongly as "señora" and can not be played in those apps..

Lear:
This is expected behavior. Rockbox will currently always write the filenames as UTF-8, regardless of the extension of the playlist file. However, when reading, it only parses the file as UTF-8 if the extension is .m3u8 (or the file contains a BOM, which are a few bytes first in the file that is sometimes used to indicate that a file contains stuff encoded in UTF-8). Also, Rockbox doesn't support any EXTM3U stuff.

Short answer is, any playlist created/modified by Rockbox should be saved as .m3u8.

Hm... It shouldn't be too hard to make Rockbox write a BOM first (either always, or only if the file extension is .m3u), though that could confuse other applications. Making the first line a comment could perhaps reduce that problem...

As for MediaMonkey, either it doesn't support .m3u8, or it might require a BOM first in the file then (I think Foobar2000 is like that).

surfer:

--- Quote ---However, when reading, it only parses the file as UTF-8 if the extension is .m3u8
--- End quote ---

But rockbox reads and plays the playlist "test.m3u" with "señora" on it correctly.
It's after rename to m3u8 or after adding songs with this non-english character (and probably others?)where the problems begin to appear.

what i want to do is to put an empty playlist on my player with rockbox, add songs to it while listening und use the playlist out of rockbox in other applications afterwards. how can i achieve that?

markun:

--- Quote from: surfer on June 24, 2008, 07:18:19 AM ---But rockbox reads and plays the playlist "test.m3u" with "señora" on it correctly.
It's after rename to m3u8 or after adding songs with this non-english character (and probably others?)where the problems begin to appear.

--- End quote ---

The file you showed earlier was encoded in latin1 (with the UTF-8 name in the #UTF8 comment) which is read correctly when the extension is .m3u and your codepage in rockbox is set to latin1.

They only way it would work on rockbox and your computer is to always save the playlists as UTF-8 encoded .m3u8 files, but maybe not all programs support this.

Good luck

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version