Skip to content

justas-d/mpd-rich-presence-discord

Repository files navigation

Broadcast MPD state via Discord Rich Presence


AUR: AUR Version AUR Status AUR Status

Images
Single App Mode
Multi App Mode
Multi App vs Single App Mode
Command Line Arguments
Compiling
Similar
Buy me a coffeeBuy me a coffee


Images

Single App Mode

State Image
Playing Playing
Paused Paused
Idle Idle

Multi App Mode

State Image
Playing Playing
Paused Paused
Idle Idle

Multi App vs Single App Mode

  • Single App Mode

    • This mode will only use a single MPD app, which will diplay the three different MPD states. (Playing, Paused and Idle)
    • This mode syncs faster than the multi-app mode.
  • Multi App Mode

    • This mode will use multiple, unique MPD apps:

      • MPD (Playing)
      • MPD (Paused)
      • MPD (Reserved for idle)
    • These app names will show up next to your name on the sidebar.

    • This mode updates slower than the single app mode.


Command Line Arguments

Example: mpd_discord_richpresence -h=211.111.111.112 -P=password -p=6606 --fork --no-idle --use-multiple-apps

Paramater Purpose
-h=ADDDRESS The listen-address for MPD. (Defaults to 127.0.0.1)
-p=PORT The port which MPD is listening on. (Defaults to 6600)
-P=PASSWORD The password sent to MPD after the connection has been established successfully. (Default is empty, therefore no password sent.)
--fork Forks the process into the background.
--no-idle Disables broadcasting of the idle state.
--use-multiple-apps Uses the Multi-App mode.

⚠️ discord-rpc will not work if Discord has been installed through snap (Ubuntu Software). Please download and install Discord from the homepage.


Compiling

Dependencies

A build script is included.

The CMakeFile will take care of finding discord-rpc. If it cannot find it, it will pull the discord-rpc GitHub repo and compile from source.


Similar

About

Broadcast your MPD state using discord rich presence!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published