Support and General Use > Audio Playback, Database and Playlists
playlist converter rockbox to sansa OF (m3u->pla)
(1/1)
gratt:
I have made a viewer plugin playlist converter for the Sansa E200's running rockbox.
It's in the flyspray patch tracker (6884), under playlists.
This will allow rockbox created playlists (m3u/8)to be converted to
a (.pla) playlists that will work in the Sansa original firmware.
I am now trying to do a (.pla) -> (.m3u/8)
original firmware to rockbox playlist converter.
I am having trouble reading the .pla files as they have
null bytes between each character.
Any ideas would be welcome.
GRaTT
elborak:
If you are seeing NUL bytes every other character, odds are it's in Unicode.
gratt:
OK, but how do i read it and remove the null bytes
GRaTT
(edit)
I finally figured this out.
I am using
rb->utf16LEdecode(utf16-buffer, empty-buffer, size_of_file);
to convert a char buffer of the entire file at once.
Thanks to everyone on #rockbox irc that pointed me in the right direction.
GRaTT
Navigation
[0] Message Index
Go to full version