[icecast] ices2 + pid-file (was: ices2 + stdin + metadata)

Thomas Weber thomas at youngarts.org
Tue Feb 3 08:56:05 PST 2004



Ok, so i have to know the PID of ices to send the update-signal. I've added
this to my ices.xml:
<pidfile>/home/www/bin/ices.pid</pidfile> (directly under the node <ices>)
I thought i've seen this somewhere in the manual.
However, when i start ices, no pid-file is created :-/ Is this the right
way?

<p>----- Original Message ----- 
From: "Karl Heyes" <karl at xiph.org>
To: "icecast" <icecast at xiph.org>
Sent: Tuesday, February 03, 2004 4:35 PM
Subject: Re: [icecast] ices2 + stdin + metadata

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