View previous topic :: View next topic |
Author |
Message |
rbalhorn
Joined: 30 Dec 2014 Posts: 4
|
Posted: Fri Jan 02, 2015 3:35 pm Post subject: playlist format question |
|
|
In the playlist.log file, the format is as follows:
Code: |
26/Dec/2014:19:37:23 +0000|/new_music|280|Sarah Sample- - Joy to The World- - Album |
What does the number to the right of the mount point represent (the 280)? |
|
Back to top |
|
|
dm8tbr
Joined: 09 Feb 2013 Posts: 45 Location: icecast.org
|
Posted: Fri Jan 02, 2015 10:25 pm Post subject: |
|
|
logging.c says:
Code: |
log_write_direct (playlistlog, "%s|%s|%ld|%s",
datebuf,
mount,
listeners,
metadata);
|
Which means the number is the amount of currently active listeners on that mount point. |
|
Back to top |
|
|
rbalhorn
Joined: 30 Dec 2014 Posts: 4
|
Posted: Fri Jan 02, 2015 11:28 pm Post subject: |
|
|
dm8tbr wrote: |
logging.c says:
Code: |
log_write_direct (playlistlog, "%s|%s|%ld|%s",
datebuf,
mount,
listeners,
metadata);
|
Which means the number is the amount of currently active listeners on that mount point. |
thanks. I assume that's the current listeners when the song begins rather than a max concurrent listeners during the song? I assumed it was the max concurrent, but the numbers did not add up. |
|
Back to top |
|
|
dm8tbr
Joined: 09 Feb 2013 Posts: 45 Location: icecast.org
|
Posted: Sat Jan 03, 2015 12:05 am Post subject: |
|
|
This gets fired the moment the metadata is updated for a stream. In regular operation that will be at the beginning of a song/segment.
You might get more interesting numbers out of the access log (it contains connection duration as the last item on the line) using e.g. Piwik for log analysis. But that on the other hand isn't metadata aware as it is. |
|
Back to top |
|
|
|