DynaMPD allows you to get a dynamic playlist with MPD: it adds to your current playlist some tracks related to what you are currently listening to. The similar tracks request is done using the Last.fm API (no registration required).



% ./dynampd.py --help
Usage: dynampd.py [options]

  -h, --help            show this help message and exit
  -a HOST, --host=HOST  MPD host
  -n PASSWORD, --password=PASSWORD
                        MPD password
  -p PORT, --port=PORT  MPD port
  -q, --quiet           Quiet mode
  -m MAX_SONGS, --max-songs=MAX_SONGS
                        Maximum songs to append each time
  -w WAIT, --wait=WAIT  Percent of current song length to wait before
                        requesting new songs

All parameters are optional: if MPD is running on localhost:6600 without password, you just have to execute the script.

Configuration file

Configuration file is located in $HOME/.config/dynampd.conf and is optional. Possible options are:

Example of config file:

% cat ~/.config/dynampd.conf
host = lucy
password = nyu
wait = 30


The best way to contact us is to use IRC: #/dev/null@yozora-irc.net (ask for ubitux or Amak).

Latest project source tree is available at Github.


If you don't like us, feel free to do what the fuck you want to with dynaMPD since it's under WTFPL license.