Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playcount statistics
06-06-2017, 16:58 (This post was last modified: 06-06-2017 16:59 by rezeptpflichtig.)
Post: #2
RE: Playcount statistics
Code:
tail -f /minimserver/data/minimserver.log | grep --line-buffered -A 1 -E "(Content-Type: audio)" | stdbuf -o0 sed -n -e 's/^.*from file //p' | stdbuf -o0 uniq >> output.log

that worked for me in the end. I am writing a python script to submit this data to listenbrainz.org and maybe last.fm so I probably will redo all this stuff in python.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Playcount statistics - rezeptpflichtig - 06-06-2017 16:58

Forum Jump:


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