Here is a php script that parses out the stats.xml file from the admin of
the icecast2 server.
It currently only parses the page out to variables and still needs a bit of
work.
anyways here is the php source files
http://cvs.casterclub.com/dev/icecast2_status/v1.3/ice2_conf.phps
http://cvs.casterclub.com/dev/icecast2_status/v1.3/ice2_status.phps
<p><p>Dave St John
CEO Mediacast1
www.mediacast1.com
----- Original Message -----
From: "Geoff Shang" <gshang@uq.net.au>
To: <icecast@xiph.org>
Sent: Wednesday, August 27, 2003 9:57 PM
Subject: Re: [icecast] icecast1 type stats logs in icecast2 ?
<p>> Hi:>
> You can get the info you want through the icecast2 admin interface. To
use> this, do the following:
>
> 1. Edit the following fields of the icecast.xml file:
> admin-user - set to the username to log into the admin system with.
> admin-password - The password to use with the username above.
> admin-root - the directory which will contain the XSL files for the admin
> interface.
>
> 2. Now copy the XSL files in the admin directory of the icecast2
> distribution into the directory you gave for the admin-root parameter.
>
> 3. Launch your browser and visit http://server:port/admin . enter the
> username and password you put in the config file.
>
> All being well, you'll be in the admin interface where you can list
> clients, kick clients, move clients to other mountpoints, and other neat
> stuff.
>
> Hope this helps.
>
> Geoff.
>
>
> --
> Geoff Shang <gshang@uq.net.au>
> ICQ number 43634701
>
> Make sure your E-mail can be read by everyone!
> http://www.betips.net/etc/evilmail.html
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
>
> --- >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.
>
<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.