I've been trying to track down this mysterious 'icestats' file that the status.xsl and status2.xsl read data from. There is no physical file as far as I can tell, but a perusal of the code seems to indicate that the server generates it on the fly when the XSL file requests it. So then I tried servername.com:8000/icestats but I got nothing. So I really got nothing, I would prefer to somehow force icecast to output this info into a physical XML file on the drive so that I don't have to make nasty regex's that have to use libraries that the CGI mod for apache won't let me use. --thanks Michael Edwards http://www.walledcity.ca <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.
On Mon, 7 Apr 2003, Michael Smith wrote:> XML is available at /admin/stats.xml on the server, from where you can fetch > it and save it on your hard drive if you so desire. Icecast won't do that bit > for you, though.Just to add that you need to authenticate with icecast before it will send you the stats. Use username "source" with the default password. Geoff. <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.
M Edwards <medwards@ualberta.ca> said:> I've been trying to track down this mysterious 'icestats' file that the > status.xsl and status2.xsl read data from. There is no physical file as far as > I can tell, but a perusal of the code seems to indicate that the server > generates it on the fly when the XSL file requests it. So then I tried > servername.com:8000/icestats but I got nothing. > > So I really got nothing, I would prefer to somehow force icecast to output > this info into a physical XML file on the drive so that I don't have to make > nasty regex's that have to use libraries that the CGI mod for apache won't let > me use. >Well, there'd be no reason to use nasty regex's even if you did just use the XSL output - just write XSL transforms that output exactly what you want. However, for those that don't like that approach for whatever reason (there are many such reasons, and one or two of them are even valid ones), the raw XML is available at /admin/stats.xml on the server, from where you can fetch it and save it on your hard drive if you so desire. Icecast won't do that bit for you, though. Mike --- >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.