There're lots of playlist formats and file encodings and even more software to read them for playback. Resulting in issues like #8 and #15. After doing some research and tests, I'll describe here a very simple method to solve at least one of such scenarios: convert the m3u output from PPP to .wpl, that Windows Media Player can finally read (my previous approach to just convert to ANSI (#8) didn't work fully). I've tested 800 songs containing a lot of arbitrary characters in their file path. And oll of them worked: ä ' [ & - ! ) _ and so on. While it's a semi-automated description, the steps could be implemented in PPP by someone in probably no time.
3 steps are required, basically converting the m3u from PPP to an xml file. I do this with Notepad++ and the search and replace feature:
- replace 5 characters forbidden in xml
- enclose each line in a xml tag (add a prefix to each line, add a suffix to each line)
- add a static header and footer to the file
Steps in detail
1)
Replace the following 5 characters with these strings (like also described here):
< to <
> to >
& to &
" to &qout;
' to '
2)
Add to each line the prefix (notepad++ enable regex and search for ^ to get the begin of a line)
Add to each line the suffix (notepad++ enable regex and search for $ to get the end of a line)
3)
Add to the beginning of the file
<?wpl version="1.0"?>
<smil>
<body>
<seq>
Add to the end of the file
Save as *.wpl.
done.
This should also work the opposite way around.
Would be nice to have someone implement this :)
There're lots of playlist formats and file encodings and even more software to read them for playback. Resulting in issues like #8 and #15. After doing some research and tests, I'll describe here a very simple method to solve at least one of such scenarios: convert the m3u output from PPP to .wpl, that Windows Media Player can finally read (my previous approach to just convert to ANSI (#8) didn't work fully). I've tested 800 songs containing a lot of arbitrary characters in their file path. And oll of them worked: ä ' [ & - ! ) _ and so on. While it's a semi-automated description, the steps could be implemented in PPP by someone in probably no time.
3 steps are required, basically converting the m3u from PPP to an xml file. I do this with Notepad++ and the search and replace feature:
Steps in detail
1)
Replace the following 5 characters with these strings (like also described here):
2)
Add to each line the prefix (notepad++ enable regex and search for ^ to get the begin of a line)
Add to each line the suffix (notepad++ enable regex and search for $ to get the end of a line)
3)
Add to the beginning of the file
Add to the end of the file
Save as *.wpl.
done.
This should also work the opposite way around.
Would be nice to have someone implement this :)