views:

128

answers:

1

Hello, I am wanting to write a script to play the .pls files Shoutcast uses to broadcast, but I am not sure how to do that. I want to write it in Python. Any help would be great!

A: 

According the description on wikipeida link text, PLS is just an ini file. So you should be able to read it as a text file and parse it.

amrinder
Oh? I am not sure what it contains. Does it have links to the audio files on the remote server? If that is what it has, how do I play them after reading the file?
Zachary Brown
OK, it just contains the URL to the server, not any file names. What the heck am I looking at? :(
Zachary Brown