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 

notification if a stream starts on local machine / website

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





PostPosted: Thu Mar 30, 2006 10:28 am    Post subject: notification if a stream starts on local machine / website Reply with quote

i run a server where people can stream whenever they want. is it possible somehow to notify me and other people on their local machines or when a stream starts? i think of RSS feeds maybe.

or can i at least include something like an "ON AIR" message on my connected website?

cheers
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 30, 2006 1:12 pm    Post subject: Reply with quote

you can use the on-connect scripts or even auth url for something like that.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Apr 01, 2006 1:31 pm    Post subject: Reply with quote

<%

s1URL = "http://www.homepage.com"

response.write "Webserver 1<br>"

iStatus = 0

set obj = Server.CreateObject("MSXML2.XMLHTTP.4.0")

On Error Resume Next

obj.open "Get", s1URL, False

obj.send ""

If err.number = 0 then

iStatus = obj.Status

End if

If iStatus = 200 then

Response.Write "<a href='"& s1URL &"' target=_blank><font color=green>Online/font></a>"

else

Response.Write "<font color=red>Offline</font>"

End if

%>

Required: IIS-Webserver, XML-Parser

is this correct / working with icecast?
Back to top
Anonymous
Guest





PostPosted: Mon Apr 03, 2006 1:09 pm    Post subject: Reply with quote

or is there a way i could include/display the status.xsl or parts of it like Stream Title on an external website?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Apr 03, 2006 1:31 pm    Post subject: Reply with quote

the status.xsl or any other xsl file under webroot can be tweaked to your own layout and any web page from a normal web server can refer to it, a simple iframe would work.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Apr 11, 2006 12:05 am    Post subject: Reply with quote

thanks karl! it worked out fine with the iframe. Smile
now is there a way to display a message when there is no stream, just an OFF AIR message? something with this?:
</xsl:when>
<xsl:otherwise>
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 11, 2006 2:11 am    Post subject: Reply with quote

yeah, that should work fine

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Apr 11, 2006 11:58 am    Post subject: Reply with quote

hrr. that doesn't help me much Smile

<xsl:otherwise>
<h3><xsl:value-of select="@mount" /> - Not Connected</h3>

nothing shows up.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 11, 2006 1:20 pm    Post subject: Reply with quote

it's impossible to give specific answers to such things as it varies on what you have configured. If the xml data doesn't contain the source details (which it may not have when not connected) then the xslt has to be coded with knowlege of it.

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