Updates to MPDQ (automagic playlists for the Music Player Daemon)

I was pretty happy with my rewrite ofmpdq and the way it queues music… but there was something missing.

Specifically, the ability to easily pause it.

So I added that functionality. Now,mpdq will automatically pause if MPD is not set to:

  • random: off
  • repeat: off
  • consume: on

So if you want to have “default” behavior back from MPD without interference from mpdq, but want to leave the process running, just toggle any of those values for MPD.

Additionally, I wanted it to be able to adjust to library changes – say, if you added a new genre. I realized this after adding a bunch of standup albums with the new genre “Standup” and suddenly had Steven Wright talking after “Love Will Tear Us Apart”. To fix this possible problem, you first have to set Default=0 in the instruction file loaded by systemd. Then you have to have mpdq get restarted whenever the MPD database changes. You can either use monit or fswatch to make this happen. Instructions and examples for doing so are part of the README.

You can pick it up and try it out on github, gitlab, or my git repository.

Featured Photo by Eric Nopanen on Unsplash

Was this post helpful or insightful? Buy me a coffee here or here and share this post with others!

Popular posts:

  • The difference between boundaries and rules
  • Two Ways to get CMYK Separation Using GIMP Instead of Photoshop in 2022
  • Weekend Project: Whole House and Streaming Audio for Free with MPD
  • If there's one Nazi (or a racist) at the table...
  • Word Porn Quotes
  • Odds and Ends: Optimizing SSHFS, moving files into subdirectories, and getting placeholder images

Recent Posts