PDA

View Full Version : Java player for .pls playlists



jesuisbenjamin
November 16th, 2009, 08:17 PM
Hello forum,

i would like to embed a player on my blog (blogger/blogspot) to play a stream from an online radio streamed by Shoutcast. Right now i embeded some HTML and it works fine in Mozilla when using Ubuntu.
It doesn't really work on Windows without having to download the proper software to play .pls files or editing some code for mediaplayer to accept pls files.
There are plenty of players out there to embed which can play mp3 files or playlists but none handle a .pls format.
Would any of you know about a tiny player i could embed to play such files? Are there any built with Java?

Thanks
B.

(PS: i put this question under programming since it involves HTML, Java or Actionscript.)

wmcbrine
November 16th, 2009, 09:42 PM
.pls files are trivial. If you can't find what you want ready-made (I have .pls parsing code, but it's not suitable for your purpose), then it would be a good programming exercise for you.

http://en.wikipedia.org/wiki/.pls

jesuisbenjamin
November 16th, 2009, 10:20 PM
I see...
Well i am now into learning Python so it won't be tomorrow i'll start with Java...:neutral: