Giter Site home page Giter Site logo

fspoettel / mpd-rich-presence-discord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justas-d/mpd-rich-presence-discord

0.0 1.0 0.0 1.72 MB

Broadcast your MPD state using discord rich presence!

License: MIT License

CMake 9.96% C++ 88.53% Shell 1.51%

mpd-rich-presence-discord's Introduction

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

mpd-rich-presence-discord's People

Contributors

arsenarsen avatar fspoettel avatar justas-d avatar snuggle avatar ssstormy avatar taahamahdi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.