CWinthrop
12 years agoVisitor
Shoutcast Metadata Parsing?
Hi all, brand-spanking new channel creator here, so go easy on me. 🙂
I'm developing a private channel for the station I work for, and I need to customize the metadata coming from our Shoutcast stream.
I've started out using the audioapp example, and have a very basic channel working, but on the live stream page (based on the Npr.brs example) I need a way to break down the metadata in a certain way.
Instead of "Current Song" by "Current Artist" our stream server sends out "Current Show with DJ Name ~ Current Artist - Current Song".
How can I get that information (I'm assuming using the "http://server:port/7.html" data?) break it down into the parts I need, and display it? Having it update every 60-90 seconds would be a bonus.
Thanks in advance for helping out a senile old man!
I'm developing a private channel for the station I work for, and I need to customize the metadata coming from our Shoutcast stream.
I've started out using the audioapp example, and have a very basic channel working, but on the live stream page (based on the Npr.brs example) I need a way to break down the metadata in a certain way.
Instead of "Current Song" by "Current Artist" our stream server sends out "Current Show with DJ Name ~ Current Artist - Current Song".
How can I get that information (I'm assuming using the "http://server:port/7.html" data?) break it down into the parts I need, and display it? Having it update every 60-90 seconds would be a bonus.
Thanks in advance for helping out a senile old man!