java - Shoutcast media metainfo updates -


Hi, I've implemented the Shoutcast streaming protocol to get stream metaffe (as described on the Web). I get a string with the title of the song and the author, but during the stream, what happens when a song ends, another begins .. How will I recognize that the song has ended and gets the new metaInfo?

How is it applicable to other players? They immediately present the title of the current song because it changes in stream ..?

It should help:

In short: when metadata is requested Then you will get the Metadata block after each N byte of the stream (the N is back in the header reader) the server connects and blocks the metadata after the song changes.

Comments