https://github.com/mill1000/librespot-mpris-proxy
Proxy events from librespot to the D-Bus.
https://github.com/mill1000/librespot-mpris-proxy
librespot raspotify spotify
Last synced: 5 months ago
JSON representation
Proxy events from librespot to the D-Bus.
- Host: GitHub
- URL: https://github.com/mill1000/librespot-mpris-proxy
- Owner: mill1000
- License: mit
- Created: 2022-12-17T16:40:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T20:25:04.000Z (over 1 year ago)
- Last Synced: 2025-12-01T20:25:36.615Z (6 months ago)
- Topics: librespot, raspotify, spotify
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Librespot MPRIS Proxy
Proxy Librespot events to MPRIS D-Bus signals. Primarily intended to be used with [mpris-monitor](https://github.com/mill1000/mpris-monitor) to control external equipment.
## `librespot-mpris-proxy`
The main proxy daemon. Acquires a friendly name on the system D-Bus and emits MPRIS signals when supported events are received via a FIFO.
Usage
```
./librespot-mpris-proxy.py
```
## `librespot-onevent`
A simple script for librespot `onevent` hook. Extracts and passes supported events to the proxy daemon via a FIFO.
Usage
```
librespot --onevent ./librespot-onevent.py
```
## Requirements
* Python 3.6+
* [dbus-next](https://pypi.org/project/dbus-next/)