lra / shoutstats

Fast and free Shoutcast server statistic analysis program.
http://www.glop.org/shoutstats/
GNU General Public License v2.0
22 stars 13 forks source link

Configuration for Shoutcast v.2 possible? #11

Open hg2s opened 4 years ago

hg2s commented 4 years ago

Is it possible to add configurations for Shoutcast v.2 servers in servers.ini? There is no line for streamid (or sid=#) but can it be combined with port or mpoint as a work around? -Thanks

lra commented 4 years ago

No idea, someone will have to dig and patch.

hg2s commented 4 years ago

For the trivial case where streamid=1 (or sid=1) things work as advertised. Seems that the venerable stats page 7.html will default to the first (and only stream).

For the cases where there are multiple streams some digging and patching is required, as you say. Looks like a 'sid' variable would cover it. All v.1 servers would only have sid=1 while v.2 servers >=1 apply.