jeffvli / sonixd

A full-featured Subsonic/Jellyfin compatible desktop music player
GNU General Public License v3.0
1.87k stars 73 forks source link

Track change notifications occasionally show info for the previous track #409

Open dweymouth opened 1 year ago

dweymouth commented 1 year ago

Describe the bug When Player>System Notifications is enabled under settings, occasionally the notification displays the info of the previously-played song (that just ended) instead of the song that is just beginning.

To Reproduce Steps to reproduce the behavior:

  1. Enable System Notifications on track change
  2. Seek near the end of a track and let it play across the track change
  3. Occasionally, but not all of the time, the notification that comes up is for the track that just finished rather than the new track.

Expected behavior Notification should always show the info for the currently beginning track.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Gapless playback is enabled, with no crossfading and 1 ms polling time.