A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Account for changes in duration

+5 -6
+5 -6
src/Core/UI/Audio/State.elm
··· 28 28 onlyIfMatchesNowPlaying 29 29 { trackId = trackId } 30 30 (\nowPlaying -> 31 - case nowPlaying.duration of 32 - Nothing -> 33 - durationChange_ { trackId = trackId, duration = duration } nowPlaying 31 + if nowPlaying.duration == Nothing || nowPlaying.duration /= Just duration then 32 + durationChange_ { trackId = trackId, duration = duration } nowPlaying 34 33 35 - Just _ -> 36 - -- Ignore repeating events 37 - Return.singleton 34 + else 35 + -- Ignore repeating events 36 + Return.singleton 38 37 ) 39 38 40 39