[icecast] song titles

Michael Smith msmith at xiph.org
Mon Feb 17 11:38:34 UTC 2003



On Monday 17 February 2003 21:18, Deva Seetharam wrote:
> Hello All,
>
> while icecast is streaming a mp3 source, how is the song title info
> maintained?
>
> that is, does the source send the song title? does icecast log the songs
> that have been played?
>

This (for almost-compatibility with shoutcast - true compatibility is 
difficult or impossible, since the shoutcast "HTTP" implementation looks very 
little like HTTP) uses a GET request to:

http://server:port/admin/metadata?mode=updinfo&mount=/yourmountpoint&song=songtitle

Obviously, proper url-escaping of mountpoint (possibly - but most mountpoints 
are ok), and songtitle (almost always) is neccesary. 

This metadata is sent on to the client using the nasty shoutcast metadata 
protocol (it's horrid, but it's the only one widely supported by clients), so 
things like what character set the title it in seem to be completely 
undefined. icecast will send it on regardless, so if your source sends it in 
a character set the client is expecting, it'll work.

This gets logged at debug level - you can change that if you actually need it 
logged specifically - see handle_metadata_request in src/connection.c.

Mike

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list