[icecast] song titles

Deva Seetharam deva at downstreamdigital.com
Tue Feb 18 08:37:44 UTC 2003



i see that icecast retains song titles only when running in full debug
mode (with DEBUG_FULL defined in icecast.h). is this observation correct?

how can i find out when a new song is being streamed by a source?
can i determine this accurately by examining song title
(souce.info.streamtitle)? or, is there a more reliable method?

<p>pls. let me know.

thanks,
deva

<p>On Mon, 17 Feb 2003, Michael Smith wrote:

> 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
>
>
>
> --- >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.
>

--- >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