You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a bug in the logic I wrote to update expiration times on subsequent tracks when you skip the first track.
Easiest way to reproduce:
Add two 1-minute tracks to the playlist
Close the app (and make sure no one else is using it)
Come back after 3 minutes
Expected behavior: When you return to the app, both tracks should have expired and been removed
Actual behavior: The first track is expired and removed, but then the subsequent tracks have their expiration times updated and start playing immediately
Basically, the problem is in the playlist service's recalcTimes method. When we do Updating expiration time on new track 0 ... we need to take the original expiration time into account better... if the track's original expiration time has already passed, it should be removed, not updated!
The text was updated successfully, but these errors were encountered:
There's a bug in the logic I wrote to update expiration times on subsequent tracks when you skip the first track.
Easiest way to reproduce:
Basically, the problem is in the playlist service's
recalcTimes
method. When we doUpdating expiration time on new track 0
... we need to take the original expiration time into account better... if the track's original expiration time has already passed, it should be removed, not updated!The text was updated successfully, but these errors were encountered: