Restore state of currently playing song when audioList changes.
See original GitHub issueDescription
Currently, if the audioList
updates, then the play state of the currently playing song is lost even if the song is present in the new audioList (possibly due to this?), which makes the tracks start from the beginning.
On using playIndex
I can get to the song but I still can’t play it from the time it was paused (the song starts from 0:00). Is it possible to not clear the pause and time state of the song if it is in the updated audioList? I want to start it from where it was paused.
A possible fix could be to add a parameter to changeAudioLists
that would use something like checkCurrentPlayingAudioIsInUpdatedAudioLists
to get the current playing song index in the new audioList and set its currentTime
to that of the previous state (before updating of the audioList)?
Or is there some other method already present to carry this out?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top GitHub Comments
Hello, I just want to say that this bug breaks what I personally see as a very important feature for any music player, namely adding songs to the queue. Specifically, it’s breaking the “Play Next” functionality in the Navidrome web UI, which is otherwise excellent. I’m not a developer, so I just hope that someone can find the time to take a look at this. Thanks.
This issue should be re-opened. It is very annoying behaviour.