add shared callback impl between mpv and jukebox players

This commit is contained in:
Drew Weymouth
2024-09-01 08:45:09 -07:00
parent c2efb048e2
commit faf067ce7e
4 changed files with 80 additions and 60 deletions
-1
View File
@@ -279,7 +279,6 @@ func (p *playbackEngine) LoadRadioStation(radio *mediaprovider.RadioStation, ins
func (p *playbackEngine) StopAndClearPlayQueue() {
changed := len(p.playQueue) > 0
p.player.Stop()
p.doUpdateTimePos(false)
p.playQueue = nil
p.nowPlayingIdx = -1
if changed {