Thomas Weber
2004-Aug-06 14:23 UTC
[icecast] ices2 + pid-file (was: ices2 + stdin + metadata)
Okay, tested it again: <pidfile> is definetly where the other general settings are, but no pid-file is created, no message in log about that. System: FreeBSD 5.2-RELEASE IceS 2.0-Beta2 I tried to install Beta4, but at make i get only this: Making all in avl source='im_oss.c' object='im_oss.o' libtool=no depfile='.deps/im_oss.Po' tmpdepfile='.deps/im_oss.TPo' depmode=gcc3 /usr/local/bin/bash .. /depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -ffast-math -fsigned-char -I/usr/local/inc lude -D_THREAD_SAFE -I/usr/local/include/libxml2 -I/ usr/local/include -g -O2 -c `test -f 'im_oss.c' || echo './'`im_oss.c In file included from im_oss.c:24: /usr/include/sys/soundcard.h:208: error: syntax error before "u_long" /usr/include/sys/soundcard.h:221: error: syntax error before "u_char" /usr/include/sys/soundcard.h:262: error: syntax error before "u_long" /usr/include/sys/soundcard.h:302: error: syntax error before "u_char" /usr/include/sys/soundcard.h:346: error: syntax error before "u_long" /usr/include/sys/soundcard.h:384: error: syntax error before "u_int" /usr/include/sys/soundcard.h:394: error: syntax error before "u_char" /usr/include/sys/soundcard.h:412: error: syntax error before "u_int" /usr/include/sys/soundcard.h:425: error: syntax error before "u_char" /usr/include/sys/soundcard.h:455: error: syntax error before "u_long" /usr/include/sys/soundcard.h:494: error: syntax error before "u_char" /usr/include/sys/soundcard.h:671: error: syntax error before "sbi_instr_data" /usr/include/sys/soundcard.h:674: error: syntax error before "u_short" /usr/include/sys/soundcard.h:679: error: syntax error before "sbi_instr_data" /usr/include/sys/soundcard.h:704: error: syntax error before "u_long" /usr/include/sys/soundcard.h:721: error: syntax error before "u_long" /usr/include/sys/soundcard.h:730: error: syntax error before "u_char" /usr/include/sys/soundcard.h:732: error: syntax error before "u_char" /usr/include/sys/soundcard.h:861: error: syntax error before "u_char" /usr/include/sys/soundcard.h:874: error: syntax error before "u_char" *** Error code 1 tom ----- Original Message ----- From: "Karl Heyes" <karl@xiph.org> To: "icecast" <icecast@xiph.org> Sent: Tuesday, February 03, 2004 6:09 PM Subject: Re: [icecast] ices2 + pid-file (was: ices2 + stdin + metadata) <p>> On Tue, 2004-02-03 at 16:56, Thomas Weber wrote:> > Ok, so i have to know the PID of ices to send the update-signal. I'veadded> > 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? > > If you have added it to where the other general settings are, like logpathetc> then yes. It may of failed to open the pid file though, I'll add a messagefor> that case. > > 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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Karl Heyes
2004-Aug-06 14:23 UTC
[icecast] ices2 + pid-file (was: ices2 + stdin + metadata)
On Tue, 2004-02-03 at 16:56, Thomas Weber wrote:> 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?If you have added it to where the other general settings are, like logpath etc then yes. It may of failed to open the pid file though, I'll add a message for that case. karl. <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thomas Weber
2004-Aug-06 14:23 UTC
[icecast] ices2 + pid-file (was: ices2 + stdin + metadata)
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@xiph.org> To: "icecast" <icecast@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 thedocumentation,> > metadata is sent as normal clear text within the PCM-data when usingstdin.> > 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 usestdin. ;)> > 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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.