mpcrp

command module
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2022 License: ISC Imports: 15 Imported by: 0

README

mpcrp

A cross-platform discord rich presence integration for mpc-hc 🎬

Latest Release Build Status Go Report Card

scrot

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL