-
Notifications
You must be signed in to change notification settings - Fork 0
A daemon to take detailed statistics of mpd listening habits.
License
mjessome/mpsd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
mpsd v0.2 About ===== mpsd is a daemon for keeping detailed stats of music played in mpd. Requirements ============ * python 3 * sqlite3 * python3-mpd * (Optional) sqltd (for html page generation) Installation ============ * ./install - this will install to /usr/local/bin, and an init script to /etc/rc.d. Modify this to suit your system's needs. * To run at startup, add to DAEMONS section of rc.conf Configuration ============= Currently, configuration is done by editing the beginning of mpsd.py: HOST: The mpd host to connect to. PORT: The port to connect to. PASSWORD: Mpd password; if none, set to False. DB_PATH: Where the db should be stored. LOG_PATH: Path to the log file, default is /var/log/mpd/mpsd.log POLL_FREQUENCY: How often to poll mpd (in seconds). ADD_THRESHOLD: How far into the song to add the track, as a fraction of the track length (ie. this is a number between 0 and 1). STATS_TEMPLATE: currently not implemented. Make sure to re-install after reconfiguration. Usage ===== * sudo /etc/rc.d/mpsd start * sudo /etc/rc.d/mpsd restart * sudo /etc/rc.d/mpsd stop * mpsd stats
About
A daemon to take detailed statistics of mpd listening habits.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published