[Icecast-dev] metadata sent from windows based system

Michael Smith msmith at xiph.org
Wed Oct 6 18:27:15 PDT 2004


On Wednesday 06 October 2004 18:31, Nagy Gergely - Kék Duna Rádió wrote:
> Hello Everybody,
>
> We develop a Windows based radio broadcast system for professional
> radios and we would like to implant an interface in this system to make
> it able to automatically update metadata of an OGG (!) stream (recorded
> from the radio) sent to an Icecast 2.0.2 server.
> We read about the
>
> curl --user admin:hackme
> 'http://ourseverIP:8000/admin/metadata?mount=/ourstream.ogg&mode=updinfo&so
>ng=ourArtist_name+Title'

This works for mp3 streams, but is not the recommended method _even for mp3_. 

The recommended method for doing this is to send the metadata updates 
in-stream, from the source client.

For vorbis, this just works - you start a new logical stream, which contains a 
metadata header, and will update the client properly.

For mp3, we support a mechanism similar to the way listening clients work. If 
you want details, let me know and I'll write it up (it's directly compatible 
with the way shoutcast does client metadata, even though, as far as I know, 
shoutcast doesn't support this for the source to send metadata).

The advantage of this is two-fold:
  a) You don't need to open seperate connections to the server.
  b) The metadata updates are automatically synchronised to the actual data 
stream, so metadata updates happen at the right time (rather than slightly 
too early or too late, as is common with the URL-update mechanism).

Mike



More information about the Icecast-dev mailing list