Register a clientid for each player
Opened this issue · 2 comments
FichteFoll commented
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.
BobbyWibowo commented
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 commented
Inside the next
branch, I have made the client id configurably globally for now, but it cannot be changed for each player just yet.