jeffvli / sonixd

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

Very short tracks fail to scrobble in gapless playback mode #302

Open ForeverEndeavor opened 2 years ago

ForeverEndeavor commented 2 years ago

Describe the bug When using the gapless playback preset in Sonixd with Navidrome scrobbling enabled (ListenBrainz), tracks of short length are not scrobbled. I'm not quite sure what the threshold for proper scrobbling is, but specific examples of tracks that do not scrobble to ListenBrainz below:

Modest Mouse - Horn Intro (0:10)
Childish Gambino - The Library (Intro) (0:04)

These songs successfully scrobble when played through the Navidrome Web UI.

To Reproduce Steps to reproduce the behavior:

  1. Enable gapless preset in Sonixd
  2. Allow Sonixd to send scrobble information
  3. Play a short track (such as one listed above)
  4. Track not scrobbled to ListenBrainz

Expected behavior Songs should successfully scrobble to ListenBrainz.

Desktop (please complete the following information):

Additional context I haven't tested other presets in Sonixd, so I'm unaware if this is also a problem with the Fade preset (or custom settings).

jeffvli commented 2 years ago

I'm currently rewriting the player so I'll check that this interaction works in the next version. Don't know if I will fix this for 0.x.x though.