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

Register a clientid for each player #3

Open
FichteFoll opened this issue May 7, 2018 · 2 comments
Open

Register a clientid for each player #3

FichteFoll opened this issue May 7, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@FichteFoll
Copy link
Owner

FichteFoll commented May 7, 2018

I could, theoretically, register multiple apps and reconnect to discord with the respective player id when the active player switches.
I could even hot-swap the ID by direct attribute access after a manual disconnect so I don't have to refactor.

https://github.com/SSStormy/mpd-rich-presence-discord uses this to show "playing" and "paused" in the title, but I'm not really interested in that.

@FichteFoll FichteFoll added the enhancement New feature or request label May 7, 2018
@BobbyWibowo
Copy link

Sounds neat, that project claimed that there'd be delay when changing client but that wouldn't be much of an issue for this project, imo, since it's not like people will switch app that often.

@FichteFoll
Copy link
Owner Author

Inside the next branch, I have made the client id configurably globally for now, but it cannot be changed for each player just yet.

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

No branches or pull requests

2 participants