From a054d343a9b3a46f144d07b96278c0d828de3842 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 26 May 2023 23:20:05 +0200 Subject: [PATCH] Fix music mode in AVPlayer --- Model/Player/Backends/AVPlayerBackend.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Model/Player/Backends/AVPlayerBackend.swift b/Model/Player/Backends/AVPlayerBackend.swift index 964bfbf1..c046618c 100644 --- a/Model/Player/Backends/AVPlayerBackend.swift +++ b/Model/Player/Backends/AVPlayerBackend.swift @@ -333,6 +333,10 @@ final class AVPlayerBackend: PlayerBackend { return } + if self.model.musicMode { + startMusicMode() + } + if !preservingTime, !self.model.transitioningToPiP, let segment = self.model.sponsorBlock.segments.first,