Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Discussions (http://forums.winamp.com/forumdisplay.php?f=9)
-   -   Shoutcast Stats - Auto Refresh Ajax (http://forums.winamp.com/showthread.php?t=316756)

Biggus 3rd February 2010 12:12

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?

smoothbeats 3rd February 2010 14:56

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.

pperkins1 17th February 2010 06:32

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...


All times are GMT. The time now is 14:33.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.