nate-xyz / resonance

Intuitive GTK4/LibAdwaita music player
https://beta.flathub.org/apps/io.github.nate_xyz.Resonance
GNU General Public License v3.0
345 stars 19 forks source link

Discord time left desyncs while paused #120

Open Traynack opened 10 months ago

Traynack commented 10 months ago

Hello! Something I noticed in my time using this music player (absolutely love it, btw!) is that the time left statistic on Discord desyncs when you pause whatever song you're playing.

Version:

What is expected:

When a user stops the song they're playing, the Discord Rich Presence should pause the time left, and resume when the music is unpaused.

What happens:

When a user stops the song they're playing, the DRP will instead keep counting down until the end of the song. Pausing/unpausing has no effect on this.

What Discord shows while music is paused (still counting down, to eventually 0:00 if left paused long enough.) image Even though the song itself has around 2:30 left image

# I don't know if this is a limitation with DRP or not, but if not I figured I'd submit a bug report just in case!