https://github.com/itslychee/mpdrp
A discord rich presence for https://www.musicpd.org
https://github.com/itslychee/mpdrp
discord discord-rich-presence linux mpd mpd-client music
Last synced: about 1 year ago
JSON representation
A discord rich presence for https://www.musicpd.org
- Host: GitHub
- URL: https://github.com/itslychee/mpdrp
- Owner: itslychee
- License: agpl-3.0
- Created: 2021-07-18T17:47:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T17:38:16.000Z (about 2 years ago)
- Last Synced: 2025-03-23T12:32:53.192Z (about 1 year ago)
- Topics: discord, discord-rich-presence, linux, mpd, mpd-client, music
- Language: Go
- Homepage:
- Size: 1.07 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mpdrp, a MPD Rich Presence for Discord
mpdrp is a MPD (Music Player Daemon) Rich Presence for Discord!
## features
- Fetches album covers from [Cover Art Archive](https://coverartarchive.org) utilizing Discord's dynamic assets feature
- Automatically clears your Rich Presence after 5 minutes of MPD being paused.
- Handles connection failures with Discord and MPD alike.
## Usage
### Nix
Nix has first class support, prebuilt closures can be substituted from [`cache.garnix.io`](https://garnix.io), details
on how to utilize Garnix's binary cache are provided [here](https://garnix.io/docs/caching).
See the available outputs under `packages` via `nix flake show github:itslychee/mpdrp`, or just
look at [`default.nix`](./default.nix).
### Other
You will need Go installed to compile the program
* `go install ./cmd/mpdrp ./cmd/mpc` (omit any unwanted sub packages)
And place it somewhere suitable to be added and/or used in `$PATH`
After that just run the binary and its defaults should be good enough for the average user, otherwise
pass `--help` to see available options.