Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich Presence Client does not work anymore #43

Closed
JyojiFujisaki opened this issue Nov 19, 2022 · 11 comments
Closed

Rich Presence Client does not work anymore #43

JyojiFujisaki opened this issue Nov 19, 2022 · 11 comments

Comments

@JyojiFujisaki
Copy link

Starting next week, it will be two weeks since the Discord Rich Presence Client can no longer be used (as for my case).
I did a reinstall using Homebrew, which was unsuccessful.

@NextFire
Copy link
Owner

Can you send me:

  • the output of brew services
  • the content of /usr/local/var/apple-music-discord-rpc/music-rpc.log
  • the output when you manually run music-rpc.ts

@JyojiFujisaki
Copy link
Author

The output of brew services:

brew services output

The content of /usr/local/var/apple-music-discord-rpc/music-rpc.log:

music-rpc.log

The output when I manually run music-rpc.ts

music-rps ts manual execution

Addition to the manual execution of music-rpc.ts:

music-rps ts manual execution addition

Many apologies for my delayed response.
I appreciate your efforts as well as your willingness to help.

@NextFire
Copy link
Owner

So there is no presence even when you manually run music-rpc.ts? The different outputs/logs seem correct to me...

@JyojiFujisaki
Copy link
Author

That's correct.

@NextFire
Copy link
Owner

Did you check that presences are correctly enabled within the Discord client settings?

Maybe try to reinstall Discord, all I see on the manual run is that the script correctly handshakes the Discord RPC and is getting track infos from Apple Music.

@JyojiFujisaki
Copy link
Author

[...] all I see on the manual run is that the script correctly handshakes the Discord RPC and is getting track infos from Apple Music.

So did I.
I'll try to re-install the Discord client.

@NextFire
Copy link
Owner

Hmm, let's try something.

  • Edit ~/Library/Application\ Support/discord/settings.json and add "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true then relaunch Discord.
    This should enable the access to the JS console (opt+cmd+i).
  • Launch music-rpc.ts and inspect the Discord console. If everything work well you should see SET_ACTIVITY messages like this:

Capture d’écran 2022-11-20 à 14 27 59

Send me what you see here.

@JyojiFujisaki
Copy link
Author

screenshot

@JyojiFujisaki
Copy link
Author

screenshot 1

@NextFire
Copy link
Owner

So the client is correctly receiving the activity but does not rebroadcast it.
If you have indeed enabled presence sharing within the settings, it may be a bug of the Discord client outside of the scope of the script.
Are presences working with other applications that support it?

@JyojiFujisaki
Copy link
Author

issue

I just changed a setting that was previously disabled. I remember having this function enabled by default. It must have changed during an update. Accordingly, I would like to apologize for the inconvenience caused by this inconspicuous feature.

Thank you for helping me with all the tools at your disposal. Stay healthy and have a pleasant day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants