![]() |
converting .bpl playlists to m3u?
is there a way to do it???
|
theirs no way to do it yet....
on release you will be able to save and load m3u's and pls files....as well as bpl maybe someone will write a converter |
no biggie, i just spent a lot of time making a playlist in winamp3 before i realized they cant be played in winamp2.
i need to use winamp 2 to play mp3s while i am gaming because winamp3 skips and lags a lot. i heard there is a way to recude the amount of resources wa3 uses.... can anyone tell me how to do this so i can use wa3 always.... |
1 Attachment(s)
Now You Can.
use the attached program. Easiest way to use it to drag the playlist onto the program and drop. or from the command line, bpl2m3u playlist.bpl it has been tested with files of up to 1200 songs, if it doesn't work, open up the m3u in a text editor and find the song at which it errored, remove that song from the bpl playlist (do this in winamp3) and then try again. if that does work, i don't know what the problem is. |
songs with ampersands, commas, and apostrophes seem to cause errors in the program. i cant get it to work with my playlist yet, but thanks a lot. BTW, could you by any chance release the source so i could take a look?
|
1 Attachment(s)
hmmm. I dont get that error. I have attached the source, but don't expect anything fantastic. Its something i wrote real quick, i actually don't understand where that error could be coming from. I tried it with all the characters you suggested and it worked fine. also remember this sort of thing is about the extent of what i can do.
|
Just to give you some information. I wrote a program to do the same thing and apparently there are instances (characters in bpl files) where & and ' are converted into an encoded scheme in the file names themselves. They are not always "valid" filenames in an imediate usability sense, winamp2 cannot use them. This is what the error is. & = & + amp;(Sorry if you put & and amp; together the browser kills it) and ' = ' if I'm correct. There may be others but I haven't ran into them. Just thought I'd give you some more info. I never had a problem with commas though?
Just thought I'd pass the info. Nice program. |
Thats quite interesting, i wonder why they did that. i checked and out of !@#$%^&()_+=-.,'[]{}~` in the file name and got no problems beyond & and ' however when i checked that same list plus <>/\|?* in the id3 tag i found that if < or > appears it is replaced with > = > and < = < when that information is writen to the bpl.
Thanks for the info. I had missed the error before, since i didn't try renaming the songs, but just chaning the bpl file, so it was my bad. I'll try to have a correct converter out later today or tomorrow sometime, hopefully. Anybody know why they did it this way? And what the deal is with those characters that they are treated differently? |
I know very little about XML. Could it be something to do with this (XML like) type of formating? Sorry, just a thought. Anyhow, I too am curious about the reason. Happy coding! :D
|
1 Attachment(s)
that xml like formating you speak of is xml. I guess i'm not 100% sure but i dont think that has anything to do with it. Anyway the reason behind this post is that bpl2m2u now supports those charactures that it didn't before meaning it properly converts & ' < > so here we go.
This is the last update i am going to do. If it still doesnt work because of what ever reason, the source is in there, fix yo self. |
neat. :)
|
I looked and the & and all are the html codes for those characters, (which i am sure many of you knew, but didn't say) So yeah i guess to that to be web safe xml uses those for the special characters, which does explain things, to some extent.
|
Quote:
|
| All times are GMT. The time now is 11:12. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.