pidi-mpris allows you to control a MPRIS capable media player with a Pirate Audio Raspberry Pi add-on.
It displays the album cover art for the current song on the Pirate Audio display (ST7789 display) and assigns playback control commands to the four buttons A, B, X and Y (active low connected to BCM 5, 6, 16, and 20).
Tested on a headless Raspberry Pi 3 A+ to control Shairport Sync.
Button | Artwork Screen | Info Screen | Gif Screen |
---|---|---|---|
A | Skip to previous song | Skip to previous song | not assigned |
B | Show next screen | Show next screen | Show next screen |
B (3s long press) | Turn display on/off | Turn display on/off | Turn display on/off |
X | Skip to next song | Skip to next song | not assigned |
Y | Toggle play / pause | Toggle play / pause | Cycle through configured gif images |
Cover artwork
Now playing
Animated GIF