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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user