| View previous topic :: View next topic |
| Author |
Message |
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Wed Sep 03, 2008 3:38 pm Post subject: Icecast status script |
|
|
| is there any script for icecast to show if the server is offline or online? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 03, 2008 4:03 pm Post subject: |
|
|
if you retrieve the status.xsl page (or any other file via icecast) then the server is online. It you mean what to know if a particular stream is active then you need to retrieve the stats eg /status.xsl?mount=/stream.ogg
karl. |
|
| Back to top |
|
 |
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Fri Sep 05, 2008 6:29 pm Post subject: |
|
|
| but is there anyway to put it on an external page so my members know if the streams on or off? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Sep 05, 2008 6:38 pm Post subject: |
|
|
you have a choice, you can either get the html page to refer to the icecast page or you can process the xsl page yourself to generate your own web page.
karl. |
|
| Back to top |
|
 |
jayrobb
Joined: 25 Dec 2008 Posts: 4
|
Posted: Mon Jan 12, 2009 2:30 am Post subject: online indicator |
|
|
This is the same question I have...
I have a church web site and we stream live when we have church.
I want a script to run some thing like a red (offline) and green (online) light on the church web site so the viewers know when I have the stream running?
thank you
Jay |
|
| Back to top |
|
 |
razametal

Joined: 03 Nov 2006 Posts: 24 Location: Manta - Ecuador
|
Posted: Fri Jan 16, 2009 6:10 am Post subject: Re: online indicator |
|
|
| jayrobb wrote: |
This is the same question I have...
I have a church web site and we stream live when we have church.
I want a script to run some thing like a red (offline) and green (online) light on the church web site so the viewers know when I have the stream running?
|
You can make one php or cgi script that reads /status.xsl?mount=/stream.ogg and if the mount is streaming shows one graphic (green), if now shows the another graphic (red). _________________ Only The Good Die Young |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 16, 2009 1:26 pm Post subject: |
|
|
any webroot xsl page can have as little information shown as you want.
karl. |
|
| Back to top |
|
 |
|