https://github.com/bramtechs/music-rpc
One Discord rich presence script for four Linux music players!
https://github.com/bramtechs/music-rpc
Last synced: 4 months ago
JSON representation
One Discord rich presence script for four Linux music players!
- Host: GitHub
- URL: https://github.com/bramtechs/music-rpc
- Owner: bramtechs
- Created: 2022-10-03T15:51:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-06T13:13:19.000Z (over 1 year ago)
- Last Synced: 2025-06-23T07:41:06.352Z (12 months ago)
- Language: Python
- Homepage:
- Size: 1.1 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# music-rpc
## One Python script to rule them all!
music-rpc is a simple Python script that displays Discord rich-presence for the following music players:
- Audacious
- Rhythmbox
- cmus
- sayonara
- spotify
This script needs **playerctl** and the pip3 library **discord_rpc.py** in order to function. Make sure they are installed!
## Manually
Ubuntu/Debian
```bash
sudo apt install playerctl -y
python3 -m venv ./venv
./venv/bin/pip3 install discord-rpc.py
./venv/bin/python3 ./scan.py
```
NixOS
```bash
nix-shell
```
## As a user SystemD service
Ensure playerctl is installed.
```
chmod +x install-systemd-server.sh
./install-systemd-server.sh
```
## Screenshot
