Comment by nsteel

3 years ago

mpd is a great choice, there are lots of things built around it. Essentially, you'd have the GPIOs trigger mpc commands. mpc talks MPD over the network back to the mpd server, so you could have physical controls all around the place.

There are lots of examples online of people doing this sort of thing. There's a simple example at https://github.com/pablodo/mpd_gpio/blob/master/main.py

Even a chapter of a book about it: https://link.springer.com/chapter/10.1007/978-1-4842-2406-9_... (I just found this, no idea if it's any good).

And also an IR version at https://www.ziemski.net/rcmpd/