Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast status script

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Wed Sep 03, 2008 3:38 pm    Post subject: Icecast status script Reply with quote

is there any script for icecast to show if the server is offline or online?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 03, 2008 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Fri Sep 05, 2008 6:29 pm    Post subject: Reply with quote

but is there anyway to put it on an external page so my members know if the streams on or off?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 05, 2008 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jayrobb



Joined: 25 Dec 2008
Posts: 4

PostPosted: Mon Jan 12, 2009 2:30 am    Post subject: online indicator Reply with quote

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
View user's profile Send private message
razametal



Joined: 03 Nov 2006
Posts: 24
Location: Manta - Ecuador

PostPosted: Fri Jan 16, 2009 6:10 am    Post subject: Re: online indicator Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 16, 2009 1:26 pm    Post subject: Reply with quote

any webroot xsl page can have as little information shown as you want.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber