clandrew / wdrp

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

Stop sending presence when paused #12

Open derekgates opened 4 years ago

derekgates commented 4 years ago

Feature Request:

When I have Winamp open but paused, Discord can only see Winamp as my currently used 'presence'. If I start playing Spotify my Discord status does not update until Winamp is closed.

It would be fantastic to have the option of NOT sending presence when the player is paused. Could even have a delay such as 30 seconds since paused?

Acceptance Criteria

clandrew commented 4 years ago

This sounds pretty reasonable. There is a clean enough factoring of the "unhook me from Discord" code. Hopefully I can get around to it one of these days :)

derekgates commented 4 years ago

I got into the code and I think it would be better if this worked as:

"Stop sending status when Winamp is not actively playing".

This would match how Spotify seems to work and allows other applications to take over the status when Winamp is paused/stopped in the background. :)