https://github.com/chme/pidi-mpris
Control MPRIS media players with a Pirate Audio Raspberry Pi add-on
https://github.com/chme/pidi-mpris
mpris pirate-audio raspberry-pi st7789
Last synced: 2 months ago
JSON representation
Control MPRIS media players with a Pirate Audio Raspberry Pi add-on
- Host: GitHub
- URL: https://github.com/chme/pidi-mpris
- Owner: chme
- License: mit
- Created: 2020-03-29T14:04:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T13:02:31.000Z (about 6 years ago)
- Last Synced: 2026-01-01T23:39:41.826Z (6 months ago)
- Topics: mpris, pirate-audio, raspberry-pi, st7789
- Language: Python
- Homepage:
- Size: 1.2 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://shop.pimoroni.com/collections/pirate-audio).
It displays the album cover art for the current song on the Pirate Audio display
([ST7789 display](https://github.com/pimoroni/st7789-python)) 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](https://github.com/mikebrady/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

Now playing

Animated GIF
