fixed stopAfterCurrent bug

This commit is contained in:
Siiiiinth
2025-12-26 23:09:44 +01:00
parent 76bb347496
commit 68b7456b31
2 changed files with 6 additions and 6 deletions
+5
View File
@@ -134,6 +134,11 @@ func (p *PlaybackManager) addOnTrackChangeHook() {
log.Println("Play stall detected!")
p.cmdQueue.addCommand(playbackCommand{Type: cmdForceRestartPlayback})
}
if p.engine.stopAfterCurrent {
p.Pause()
p.engine.SetStopAfterCurrent(false)
}
}()
}
})