clandrew / wdrp

Discord Rich Presence Winamp plugin
MIT License
106 stars 13 forks source link

Remove need for people to create their own Discord apps for installation #8

Open clandrew opened 4 years ago

clandrew commented 4 years ago

When I was first getting my feet wet in the Discord platform I thought this was necessary, but it's not really.

derekgates commented 4 years ago

I can certainly help with this but I am confused how to achieve this without an Application ID?

https://discordapp.com/developers/docs/rich-presence/how-to#initialization

Once you've created your application, note and save your Client ID. You will need this to initialize the SDK; this value will be referred to throughout this documentation as both client_id and application_id.

To begin, you'll register your callback functions to the six DiscordEventHandlers and then call Discord_Initialize() with your APPLICATION_ID.

Is there a way to reuse an Application that isn't added by Discord themselves (such as how Spotify is set up)?

clandrew commented 4 years ago

Maybe. See this example https://github.com/Tustin/PlayStationDiscord/blob/development/src/Consoles/PlayStation3.ts

derekgates commented 4 years ago

Well isn't that an interesting project as well!

I wonder if that is an already existing and Discord ratified application ID instead of how we are trying to approach it.

If we submit the application to Discord then it can be baked into their servers... https://discordapp.com/developers/docs/game-and-server-management/how-to-get-your-game-on-discord#getting-approved ?

clandrew commented 4 years ago

I think addressing this issue will be 90% investigation and 10% coding the thing

Scr34mik commented 2 years ago

Hi, i'm +1 to this. Ive created an app within discord. But every time i'm uploading assets, they disappear. (and yes im pressing "save changes" button every time i upload them).

EDIT: After like ~30 minutes all my attempts have appeared in the aseets tab: image

Neo-Desktop commented 1 year ago

just FYI - foobar 2000's plugin just provides a default application ID created by the developer

https://github.com/TheQwertiest/foo_discord_rich/blob/4ea836574b1dc1b6d5d38fd8b66895538ee77710/foo_discord_rich/fb2k/config.cpp#LL18C32-L18C32