PDA

View Full Version : Request ICEcast Last 5 songs



shoutcaststreaming
06-03-2017, 05:04 AM
Anyone have a script that will display the last 5 songs played in Icecast?

I'm thinking that Icecast doesn't keep this information in their XML like SHOUTcast does.

http://80.86.84.31:8250/played?sid=1 (for SHOUTcast)

shoutcaststreaming
06-17-2017, 03:01 AM
Nobody ? I guess this is a really hard question or maybe there is no way to do it.

Give me a sign of life.

James
06-17-2017, 03:05 AM
You would need some way of storing this data on your own server and triggering that script every 30 secs/1 min to capture every song.
You could use a text file or a database with a cron job running every minute for example.

shoutcaststreaming
06-17-2017, 04:57 PM
Winner .. yes, that is exactly how we did it. This is an ICEcast stream:

http://phone.shoutcaststreaming.us/rockpile/