[Icecast] PHP Script to display Whether Stream Is Up

mark burdett mark at indymedia.org
Wed Aug 6 15:28:15 UTC 2008

You can create an xsl file that outputs a short xml listing of available 
mounts, and parse this with simplexml (a php xml parser).  it should 
just be a couple lines of code to see if the stream is in the list.

On Wed, 06 Aug 2008 08:47:22 +0200, Thomas B. Ruecker wrote:
> On Tue, Aug 05, 2008 at 12:45:40PM -0400, Daniel C wrote:
> > I was wondering whether or not someone knew of a php script for Icecast2, that would allow me to display, in plain text to listeners, whether a stream was up or not?
> > The script would somehow have to check I guess the xml file to see if a stream is online, display a message that the stream is online, and an image that says toon in.
> > I could program in PHP, somewhat, but what variables would I use for these tasks?
> Of course this would be possible somehow. But why reinvent the status
> page? Oh and it can be customized in a gazillion of ways. Its just
> simple xslt.
> cheers
> Thomas
> PS: status page can be viewed by accessing icecast by a webbrowser
> instead of a listener client.
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

More information about the Icecast mailing list