NextFire / apple-music-discord-rpc

🎵 Discord Rich Presence Client for the macOS Apple Music app and iTunes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rich Presence Client does not work anymore

JyojiFujisaki opened this issue · comments

commented

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.

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
commented

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.

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

commented

That's correct.

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.

commented

[...] 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.

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.

commented

screenshot

commented

screenshot 1

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?

commented

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.