mpcrp
A cross-platform discord rich presence integration for mpc-hc 🎬
Installation
Binaries
Download a binary from the releases
page.
Build from source
Go 1.16 or higher required. (install instructions)
go install github.com/fawni/mpcrp@latest
Usage
Warning you have to enable the web interface in mpc-hc for mpcrp to work
mpcrp &
mpcrp -h
for more info.
Flags
-p
, --port
: mpc-hc port to connect to (default: 13579)
-i
, --id
: discord app id providing rich presence assets (default: 955267481772130384)
-r
, --raw
: display only the filename without fanart or filename-parsed metadata
--nocover
: attempt to parse filename for metadata without fanart
Disclaimer
Media and fanart detection is done through the fanart.tv api. mpcrp might display irrelevant data, as it is impossible to 100% identify the correct media based on the filename alone.
eg: a video named cat.mp4 will be assumed to be Cat Planet Cuties as it is the first entry on fanart.tv that has a poster and is a tv show or a movie.
If fanart.tv does not recognize the filename, mpcrp will only display the filename along with basic metadata.
License
ISC