4 Commits

Author SHA1 Message Date
ultrasn0w
0bb4f8080c Update README.md 2018-09-04 17:15:58 +02:00
ultrasn0w
579e7cbb7c Merge pull request #13 from darktohka/master
Update Discord RPC to v3.3.0 and fix metadata double click bug
2018-09-04 16:54:23 +02:00
darktohka
fa59966d6c Update Discord RPC to v3.3.0 and fix metadata double click bug 2018-09-04 05:34:38 +03:00
ultrasn0w
da6b7ec8ed Update README.md 2018-02-11 15:58:42 +01:00
2 changed files with 6 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
# foo_drpc
Foobar2000 music status for Discord Rich Presence!
# Notice
I'm currently no longer actively developing this, but will still merge PRs and reference releases at the [release page](https://github.com/ultrasn0w/foo_drpc/releases).
# How to use
1. Grab release, drop included **foo_drpc** directory in \%userdir%\AppData\Roaming\foobar2000\user-components\ or place included .dll Files in \foobar2000\components\.
1. Grab [release](https://github.com/ultrasn0w/foo_drpc/releases), 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](/foo_drpc1.PNG?raw=true)

View File

@@ -93,9 +93,9 @@ void foo_drpc::on_playback_stop(playback_control::t_stop_reason reason)
case playback_control::stop_reason_shutting_down:
discordPresence.state = "Stopped";
discordPresence.smallImageKey = "stop";
updateDiscordPresence();
break;
}
updateDiscordPresence();
}
void foo_drpc::on_playback_pause(bool pause)
@@ -186,7 +186,7 @@ void foo_drpc::updateDiscordPresence()
Discord_RunCallbacks();
}
void connectedF()
void connectedF(const DiscordUser* request)
{
connected = true;
}