[icecast] ices2 + stdin + metadata

Karl Heyes karl at xiph.org
Tue Feb 3 15:35:58 UTC 2004

On Tue, 2004-02-03 at 15:05, Thomas Weber wrote:
> Hi,
> does anybody know some info about posting metadata to ices2 via stdin?
> My system is based on a PHP-script wich sends PCM-data from the player
> (mpg123 or ogg123) over a pipe to ices2. As i understand the documentation,
> metadata is sent as normal clear text within the PCM-data when using stdin.

no it's isn't, metadata is separate from the PCM.

> I tried the following format:
> \n
> artist=foo\n
> title=bar\n
> (\n is, of course, a normal unix-linebreak)
> In this case, the metadata isn't updated.
> When i write exactly this to a file wich is called as metadata by ices2, it
> works. However, i don't like to use the file but would like to use stdin. ;)

if you're pushing PCM via stdin then use the metadata file. Don't mix
them in the same stream.


<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