digimezzo / dopamine-windows

Audio player which tries to make organizing and listening to music as simple and pretty as possible.

Home Page:https://digimezzo.github.io/site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong description in Discord Rich Presence

roozbehzarei opened this issue · comments

I'm submitting a...


[ ] Regression 
[x] Bug report  
[ ] Feature request

I'm using these versions

  • Windows version: Windows 10 Pro build 19044.1586
  • Dopamine version: 2.0.8

Reproduction steps

  • Open Dopamine and Discord.
  • Enable Discord Rich Presence in Dopamine settings.
  • Play a song via Dopamine.

Observed behavior

Discord shows the user's status as "Playing Dopamine", also in the details pop-up window the description says "Playing a Game".

Desired behavior

The user's status should be "Listening to Dopamine" and the details pop-up window must show "Listening to Dopamine". A behavior similar to Spotify.

Here is Discord's rich presence documentation on how to change the description.

I've been looking into this, and leave this comment for reference. This to change is not as simple as it might seem.

Dopamine is using the Discord GameSDK. As far as I can tell, it is not possible to set ActivityType using GameSDK. So you would need to swith to the Gateway API, that works a bit different. For example, you have to use OAuth2 to authenticate.
Also, it requires the OAuth2 scope activities.write, which needs additional approval from Discord.