plex-rich-presence icon indicating copy to clipboard operation
plex-rich-presence copied to clipboard

Switch Discord Rich Presence

Open galaxine-senpai opened this issue 2 years ago • 10 comments

I was going to do a pull request with the changes but realized I don't know C#, but my suggestion is to use different statuses such as "listening" when music is playing or when videos are being playing use the "Watching" status, these all should exist, and work (in theory) and it would be a very nice improvement.

galaxine-senpai avatar Feb 14 '23 06:02 galaxine-senpai

Could you point me to some documentation regarding those "listening" and "watching" statuses ?

Ombrelin avatar Feb 14 '23 07:02 Ombrelin

This is the best thing I could find regarding it, I hope this can help https://discordnet.dev/api/Discord.ActivityType.html

galaxine-senpai avatar Feb 14 '23 18:02 galaxine-senpai

That's very helpful, thank you, I'll have a look into it 👍

Ombrelin avatar Feb 14 '23 20:02 Ombrelin

No problem :)

galaxine-senpai avatar Feb 15 '23 17:02 galaxine-senpai

Hi, I looked into it and sadly, the link you provided is for a library called Discord .NET to work with the Discord API to create bots. However, this app works using Rich Presence, which is a mechanism between software on your PC and the discord client, which is an entirely different system, even though the API can also read rich presence from users (hence the Enum you linked). The library I'm using : https://github.com/Lachee/discord-rpc-csharp, doesn't seem to support such a feature.

Ombrelin avatar Feb 26 '23 18:02 Ombrelin

Ah dang

galaxine-senpai avatar Feb 27 '23 16:02 galaxine-senpai

That was my reaction too :'( Keeping the issue in case its supported in the futur

Ombrelin avatar Feb 27 '23 17:02 Ombrelin

Alright, I hope it will!

galaxine-senpai avatar Feb 27 '23 17:02 galaxine-senpai

I just decided to check with the library devs and they say it isn't possible.

galaxine-senpai avatar Mar 10 '23 17:03 galaxine-senpai

Hi ! Thank you for taking the time to check with the library author, although the result is as we feared.
However I will keep this issue open it case it changes in the future :+1:

Ombrelin avatar Mar 10 '23 18:03 Ombrelin