This is a set of two applications:
- Shoutcast Monitor - app for monitoring shoutcast stream listeners count
- Data Analyzed - app for reading data gathered by Shoutcast Monitor and presenting it in tables and charts
Current version: 1.2
Apps has polish and english localization. Screens shows application in polish
Console version of the app. Can be customized by writing custom classes for logging.
Run monitor.exe http://xxx.xxx.xxx.xxx:8000/stats
to monitor listeners for the specified stream.
Default time interval is 120 seconds. If you want to change that, replace value in the main program class.
Graphical version of the app. You can specify URL and time interval. Application will store text files in the data directory in the root directory of the application.
Data analyzer reads data gathered by Shoutcast Monitor and presents it in a graphical way. You can specify directory with data and file prefix. App will display statistical data for each day in a table and each of them on a plot:
- Average number of listeners
- Time without listeners
- Number of listeners in peak
Second tab allows to see data from each day on a plot.
If you want, you can write your custom logging classes.
They should implement interface:
interface IDataLogger
{
void Log(int listeners);
void Error(string message);
}
You can use the default ones too:
- ConsoleLogger that logs data to the console standard output
- TextFileLogger that logs data to the file named with current date
Multiple loggers can be used when combined using CompositeLogger class.
Copyright 2018 Michał Kleszczyński
MIT License