View Single Post
Old 29th September 2020, 23:04   #1
Junior Member
Join Date: Sep 2020
Posts: 2
How do I reset the 'current song metadata'?

Using Shoutcast Server v2.6.0.753, when a stream with inline metadata is connected, I can read the held song metadata with "admin.cgi?sid=1&mode=viewxml&page=5". When the stream disconnects, this same call STILL returns the held song metadata.

In the earlier version of Shoutcast, the song metadata was emptied as soon as the stream disconnected from the Shoutcast server.

I want to emulate this behaviour on the v2.6.0.753 Shoutcast server.

Unfortunately the call of "admin.cgi?mode=resetxml&sid=#" only seems to flush the 'stream' data, but not the held 'song metadata'.

If I send "admin.cgi?mode=resetxml&sid=1" followed by "admin.cgi?sid=1&mode=viewxml&page=5", the response returned STILL contains all the song's metadata from the last time a stream was connected and active.

I can't find a call to permanently flush the 'song metadata' on stream disconnection.

Can you help?

DaveSoundman is offline   Reply With Quote