moved logic to playbackengine, forceRestart preserves pause state
This commit is contained in:
@@ -627,6 +627,12 @@ func (p *playbackEngine) handleOnTrackChange() {
|
||||
p.invokeOnSongChangeCallbacks()
|
||||
p.handleTimePosUpdate(false)
|
||||
p.handleNextTrackUpdated()
|
||||
|
||||
if p.pauseAfterCurrent {
|
||||
p.Pause()
|
||||
p.SetPauseAfterCurrent(false)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (p *playbackEngine) handleOnStopped() {
|
||||
|
||||
Reference in New Issue
Block a user