Files
foo_drpc/README.md
2018-02-11 15:58:42 +01:00

1.4 KiB

foo_drpc

Foobar2000 music status for Discord Rich Presence!

How to use

  1. Grab release, drop included foo_drpc directory in %userdir%\AppData\Roaming\foobar2000\user-components\ (if you have not moved your AppData somewhere else) or place included .dll Files in \foobar2000\components.
  2. Add foobar2000 to discords detected games (Settings -> Games -> Add it).

compact view big view 1 big view 2

How to compile

  1. Compiled with VS 2017.
  2. Grab foobar2000 SDK and create \foo_drpc\ directory in \foobar2000.
  3. Drop contents from repository in the prevoiusly created \foo_drpc.
  4. Grab release from https://github.com/discordapp/discord-rpc and place \lib\ with contained discord-rpc.lib in \foo_drpc.
  5. Do the same with \include\discord-rpc.h but this time directly into \foo_drpc.
  6. Get/Create a Discord Application ID which resembles your App at Discords end and fill in to \Plugin.h.
  7. Upload 1 large asset for your App with the key "logo", 3 small ones with keys "play", "stop" and "pause".

License and Warranty

Check LICENSE.

Note: Even though I build in a "spam protection" to avoid lots of presence updates being send to the discord servers, I can't guarantee and am not responsible for any actions that may be taken against your account. (Nothing happened during personal testing)