I am working on a small raspberry webradio with a rotary encoder to control start, stop, louder, quieter commands for mopidy.
Here is my python file to control that:
Is there something similar I could use?
Is there a better way to fulfill this requirement?
What I additionally want:
- play a sound before a command is executed
- cleanup script and maybe make a python module for it
Any feedback is welcome - thank you!
PS: Using a raspberry B+ I have rustle on the music boxes. Is that a known issue with the pi?
There is a Python MPD library that allows you to interface with Mopidy and query the status. I’m not sure it’s any better than what you’ve come up with.