Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

playlist format question

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
rbalhorn



Joined: 30 Dec 2014
Posts: 4

PostPosted: Fri Jan 02, 2015 3:35 pm    Post subject: playlist format question Reply with quote

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
View user's profile Send private message
dm8tbr



Joined: 09 Feb 2013
Posts: 45
Location: icecast.org

PostPosted: Fri Jan 02, 2015 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rbalhorn



Joined: 30 Dec 2014
Posts: 4

PostPosted: Fri Jan 02, 2015 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
dm8tbr



Joined: 09 Feb 2013
Posts: 45
Location: icecast.org

PostPosted: Sat Jan 03, 2015 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber