Update listen submission to follow ListenBrainz logic
Followup to !1997 (merged)
One thing we might want to address is the scrobble logic in
usePlayer.ts
. At the moment we are only checking to see if the track is over halfway through, but previously we included logic for longer tracks per the ListenBrainz documentation
Listens should be submitted for tracks when the user has listened to half the track or 4 minutes of the track, whichever is lower. If the user hasn’t listened to 4 minutes or half the track, it doesn’t fully count as a listen and should not be submitted.