Hello,
I'm currently using SHOUTcast Server v2.0.0.29/posix(linux x64) and all is working really fine with my stream.
Now, I want to use sc_w3c.log to get some stats about my listeners.
So, i installed Piwik and i wrote a script in order to convert the original sc_w3c.log format to a format parseable by Piwik.
All is fine with it too.
On Piwik, i have a lot of entries with the following page : /stream?title=Unknown
After searches and test, i found that i must have one line in my log for each song listened by each user.
So, 2 lines if a person listened 2 titles (with 2 different pages : the title metadata of each song).
This system works for VLC, Itunes and Winamp BUT, as soon as you use a webplayer with the new audio html5 tag or flash player (including shoutcast website player), the system is broken.
So with these players, you have only one log line at user disconnection with title metadata : Unknown
The problem is : a lot of my users are listening directly my radio on the website (using jplayer).
My stats are now really broken because of this.
My question is : How shoutcast server is writing w3c_log? Is the server waiting for a callback given by the player (and maybe we can reproduce this call with webplayer) ? Or is it a completely different system?
Is it possible to have "normal" logs with web-player and how (i can code it if needed but can you give me some tips) ?
Thanks a lot,
I'm currently using SHOUTcast Server v2.0.0.29/posix(linux x64) and all is working really fine with my stream.
Now, I want to use sc_w3c.log to get some stats about my listeners.
So, i installed Piwik and i wrote a script in order to convert the original sc_w3c.log format to a format parseable by Piwik.
All is fine with it too.
On Piwik, i have a lot of entries with the following page : /stream?title=Unknown
After searches and test, i found that i must have one line in my log for each song listened by each user.
So, 2 lines if a person listened 2 titles (with 2 different pages : the title metadata of each song).
This system works for VLC, Itunes and Winamp BUT, as soon as you use a webplayer with the new audio html5 tag or flash player (including shoutcast website player), the system is broken.
So with these players, you have only one log line at user disconnection with title metadata : Unknown
The problem is : a lot of my users are listening directly my radio on the website (using jplayer).
My stats are now really broken because of this.
My question is : How shoutcast server is writing w3c_log? Is the server waiting for a callback given by the player (and maybe we can reproduce this call with webplayer) ? Or is it a completely different system?
Is it possible to have "normal" logs with web-player and how (i can code it if needed but can you give me some tips) ?
Thanks a lot,
Comment