| View previous topic :: View next topic |
| Author |
Message |
webstar
Joined: 22 Oct 2008 Posts: 4
|
Posted: Tue Jan 05, 2010 1:38 am Post subject: Stats |
|
|
| 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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 2:23 am Post subject: |
|
|
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 |
|
 |
webstar
Joined: 22 Oct 2008 Posts: 4
|
Posted: Tue Jan 05, 2010 2:44 am Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 2:51 am Post subject: |
|
|
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 |
|
 |
|