by mcow » Tue Jul 26, 2011 5:51 pm
Another M3U option that I will need to use the playlist-creation feature is to write the UTF-8 files without the BOM. I've discovered that Canola won't read a BOM'd file, just as it won't read a file with CRLF line endings.
What a pain. I probably should just get an iPod. Someday.
I also note that the current (well, as of 1408) implementation of "extended M3U" doesn't do anything except put a #EXTM3U header in the file. This doesn't make any difference to me—Canola accepts EXTM3U but doesn't use the features—but without the #EXTINF's, there doesn't seem to be much point.
EDIT: 29-Jul-2011
The File | Export to Playlist command, using UTF-8, also includes the BOM. (This is much better behaved than the MM3 implementation.) I took one and made a copy without a BOM, and then loaded both into WinAmp. WinAmp requires the BOM; the M3U without the BOM resulted in unintelligible entries in the playlist, and the associated files were not found.
It'd be great if the BOM were optional, but I've written a simple conversion script that I can run on the N800 after the playlists have been copied over. After some research, I think I've determined the problem is Nokia's fault: Maemo mandated UTF8-no-BOM as the text format, and didn't support BOM until Maemo5.
Another M3U option that I will need to use the playlist-creation feature is to write the UTF-8 files without the BOM. I've discovered that Canola won't read a BOM'd file, just as it won't read a file with CRLF line endings.
What a pain. I probably should just get an iPod. Someday.
I also note that the current (well, as of 1408) implementation of "extended M3U" doesn't do anything except put a #EXTM3U header in the file. This doesn't make any difference to me—Canola accepts EXTM3U but doesn't use the features—but without the #EXTINF's, there doesn't seem to be much point.
[i]EDIT: 29-Jul-2011[/i]
The [b]File | Export to Playlist[/b] command, using UTF-8, also includes the BOM. (This is much better behaved than the MM3 implementation.) I took one and made a copy without a BOM, and then loaded both into WinAmp. WinAmp [i]requires[/i] the BOM; the M3U without the BOM resulted in unintelligible entries in the playlist, and the associated files were not found.
It'd be great if the BOM were optional, but I've written a simple conversion script that I can run on the N800 after the playlists have been copied over. After some research, I think I've determined the problem is Nokia's fault: Maemo mandated UTF8-no-BOM as the text format, and didn't support BOM until Maemo5.