(Regression) player can't skip back to beginning of track
Steps to reproduce
- Load a track
- Start playing the track
- Try to use the "Previous" button to go to the beginning of the track
What happens?
Nothing. If the track is the only track in the queue, the "Previous" button is disabled. If there are other tracks before it, the "Previous" button takes the user to the previous track.
What is expected?
See the current queue behavior here.
- If the player time is under 3 seconds, the "Previous" button should take the user to the previous track
- If the player time is above or equal to 3 seconds, the "Previous" button should skip to the beginning of the current track
Context
Funkwhale version(s) affected: 1.2.9+git.24ffe305