Skip autoplay when a radio station is playing (#950)

Autoplay for similar songs should not apply to radio streams, which
have no meaningful "end of queue" to extend.
This commit is contained in:
BELzEBUB
2026-06-09 15:41:56 -07:00
committed by GitHub
parent cbe148a1bd
commit 1794d690ee
+3
View File
@@ -805,6 +805,9 @@ func (p *PlaybackManager) enqueueAutoplayTracks() {
if nowPlaying == nil { if nowPlaying == nil {
return return
} }
if nowPlaying.Metadata().Type == mediaprovider.MediaItemTypeRadioStation {
return
}
s := p.engine.sm.Server s := p.engine.sm.Server
if s == nil { if s == nil {