|
|
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Location: England
Posts: 27
|
Shoutcast Stats - Auto Refresh Ajax
Hi All,
I'm wondering how you all check the stats of how many people are tuned into your shoutcast stream? I know there is the DNAS page by typing your server IP & port and lots of .php scripts out there that use 7.html But how do you refesh the stats without having to reload the page in your browser.. Our DJ's find the stats on screen handy so there have a clue on how many are tuned in. I've been messing around with ajax & jquery and made a simple real time shoutcast stats for my server here is the link. http://www.summertimeradio.com/str3/rstats/stats.php this link will work until 13th Feb 2010 then it will change to http://www.summertimeradio.com/rstats/stats.php Just wondering what you all use to monitor whos tuned in? www.summertimeradio.com /Dance Music 24/7 |
|
|
|
|
|
#2 |
|
Member
|
The way we process stats at Smoothbeats.com is a bit more complex, making use of multiple components. This allows us to consolidate listener stats from many servers, and makes the data available in a way that can be used by other tools.
First, we have a perl script that polls all relays and collects and consolidates data. This is run every 2 minutes, and outputs data to a CSV logfile for processing by other tools. Next, we have an "xmlstats" tool that pulls data from these consolidated stats, track history, as well as other bits of useful metadata. This tool outputs data in xml format, which can be utilized by other tools that are capable of digesting xml feeds. Finally, we have a number of tools that utilize the "xmlstats" feed for display in various interfaces. We have a web interface that uses javascript to updated stats and track history asyncronously, as you were discussing. We have an IRC bot running in our chat room that can output this data on command. We have statistical graphs that pull from the CSV logfile. We also have an admin interface our live DJs use, which provides more granular metadata in realtime. Smoothbeats.com hiphop / nujazz |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2007
Location: Las Vegas, Nevada
Posts: 24
|
If your DJs simply want to see how many people are online at the moment and where they are coming from you might want to try http://www.feedjit.com and see if what they offer is what you want...
Pete http://www.timetrippinradio.com #1 All-Time Greatest Hits, All Day, All Night Blues, Jazz, R&B And Soul |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|