The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
Playcount statistics
18-05-2017, 17:24
Post: #1
Playcount statistics
Hello,
I was wondering if it is possible to gather some statistics what files where played how often.
my first idea was to do set log level to debug and with a shellscript that does
Code:
tail -f /usr/local/share/minimserver/data/minimserver.log | grep -A 1 -e 'Content-Type: audio' | sed -n -e 's/^.*from file //p'
to get a list of all played/served audio files.
however this does not work with tail -f on the fly.. any ideas how I could do this?

best regards
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Playcount statistics - rezeptpflichtig - 18-05-2017 17:24

Forum Jump:


User(s) browsing this thread: 1 Guest(s)