add stop after current check to pop up queue

This commit is contained in:
Drew Weymouth
2025-08-08 08:10:20 -07:00
parent 766cfdfe91
commit d6ad0de122
3 changed files with 30 additions and 2 deletions
+8
View File
@@ -669,6 +669,14 @@ func (p *PlaybackManager) PlayPause() {
}
}
func (p *PlaybackManager) SetStopAfterCurrent(stopAfterCurrent bool) {
p.engine.SetStopAfterCurrent(stopAfterCurrent)
}
func (p *PlaybackManager) IsStopAfterCurrent() bool {
return p.engine.stopAfterCurrent
}
func (p *PlaybackManager) enqueueAutoplayTracks() {
nowPlaying := p.NowPlaying()
if nowPlaying == nil {