Hey All. I have recently upgraded my streaming radio station to icecast2 type streaming. I, however miss the stats logs in icecast 1. These logs would list the number of listeners, and more importantly their ip addresses. I parsed this onto a nice looking web page, so local users in my LAN could know who was listening to the radio station. I guess icecast2 has some built in web serving which displays the number of listeners, but I see no way to get the ip addresses, unless I do some sort of netstat and grep on port 8000. This, however is a bit more overhead that I want to use, if I can avoid it. Is anyone aware of a way to get the number of connected listeners and their IP addresses? Or does anyone know if there is a stats type log in icecast2? Thanks! Jose P.S. The website for the station is http://sagansstash.ucsd.edu <http://sagansstash.ucsd.edu/> (click on wkbj radio) The number of listeners and "who's listening" link is broken until I fix this however. <p><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.
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. <p> -- 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.
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. Touse> 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.