wow... this comunity really rocks
Well, I actually was aware about hex format on the shoutcast log, but I simply considered the straightest way to get something useable, so, simply getting "VLC" "Winamp" "iTunes" and so would be revolutionary enough ;-)
Obviously, if, at the same time we could reformat the log file in such a way to pass to AWSTATS the full string it would be great.
Neverthless, in my first attempts, awstats refused to accept the unformated 7th string as valid data, so I also though to stick to documentation and give it a simple string, without any kind of symbols/characters that may lead it to ignore it.
It should be noted that some players like iTunes appears as an incredibly long (and useless) string that among version includes Operating system info, OSX info and so...
I think it would be interesting to have the 2 shots: one sc_parse.pl script that changes player string to simply "vlc" and another one with "vlc/1.1.5" so both could be tested against awstats.
Anyways I'm still unable to rebuild the script with the proposed changes here, since I don't see the algorithm behind them, and I'm still investigating how should I put all pieces together in the now working parsing script
Thank you all guys!!! :-D
|