Fandom

Music Player Daemon Community Wiki

Hack:mpd-stats

525pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

  • Description: perl scripts to keep track of everything mpd plays and generate detailed stats.
  • Homepage: mpd-stats
  • Download: checkout the svn repository
  • Sample: here is an example
  • Maintainer: Alexandre Buisse, nattfodd AT no-log DOT org
  • Dependencies: perl modules, to be installed from the package manager of your distribution or from CPAN:
    • Audio::MPD
    • Audio::MPD::Common
    • File::HomeDir
    • DBD::SQLite
  • Usage: run mpd-stats.pl in the background, and it will automatically add the information about what mpd is playing in a database (the default location is ~/.mpd-stats/mpd-stats).
To obtain statistics about what you have listened, simply run generate-stats.pl. You can customize the results by changing the @criteria, @orders and $to_display variables in the first lines of generate-stats.pl (a more powerful configuration system should be added soon). It can generate HTML or simply output the stats on the console.
If you run into any trouble or need new features, don't hesitate to contact me.

Also on Fandom

Random Wiki