streaming a .pls file
i'm writing an app for an internet radio station.
i can't figure out a way to stream the .pls file they have provided. It plays in the media player if open it in mobilesafari but i want to be able to stream it while looking at a blog window etc.
it took me a while to find the audioplayer (i don't think its in the docs yet) but it wouldn't stream it either…
any ideas?
1 Answer
-
Accepted Answer
.pls is a plain text file of a simple format. You need to parse it (e.g. using regexps), extract real URLs to mp3 or other media stream from there and pass it to sound object.