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 

Stats

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



Joined: 22 Oct 2008
Posts: 4

PostPosted: Tue Jan 05, 2010 1:38 am    Post subject: Stats Reply with quote

Is there a php script or a program that can watch the listeners for a single mount point without needing the admin logins. Just grab the info from the icecast stream list thats public?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 2:23 am    Post subject: Reply with quote

vague question. The listeners stat is not hidden from public so it can be made available via webroot using your own xsl. If you want listener details then no you can't without getting it via listclients or via url auth, depending on what information you want exactly.

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



Joined: 22 Oct 2008
Posts: 4

PostPosted: Tue Jan 05, 2010 2:44 am    Post subject: Reply with quote

I just want the # of current listeners for one mountpoint from a page that has about 100+ mountpoints.

And so I can leave it on my screen and always have it showing.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 2:51 am    Post subject: Reply with quote

make a custom xsl that outputs text, like status2.xsl does then request it for the mountpoint in question eg

http://host:8000/mylistenercount.xsl?mount=/stream50.ogg

of course that will mean you poll it every so many seconds. How you want to present the xsl content is up to you.

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