Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.31 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.31 KB

Control MPRIS media players with a Pirate Audio Raspberry Pi add-on

pidi-mpris

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 Mapping

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

Pictures

Cover artwork

coverart

Now playing

coverart

Animated GIF

coverart