diff --git a/Model/Player/Backends/MPVBackend.swift b/Model/Player/Backends/MPVBackend.swift index 40f9fc08..ac6e81b7 100644 --- a/Model/Player/Backends/MPVBackend.swift +++ b/Model/Player/Backends/MPVBackend.swift @@ -267,6 +267,7 @@ final class MPVBackend: PlayerBackend { case MPV_EVENT_FILE_LOADED: onFileLoaded?() + startClientUpdates() onFileLoaded = nil case MPV_EVENT_UNPAUSE: diff --git a/Model/Player/Backends/MPVClient.swift b/Model/Player/Backends/MPVClient.swift index 067df838..9fe51d6b 100644 --- a/Model/Player/Backends/MPVClient.swift +++ b/Model/Player/Backends/MPVClient.swift @@ -24,9 +24,9 @@ final class MPVClient: ObservableObject { func create(frame: CGRect? = nil) { #if !os(macOS) - if let frame = frame { - glView = MPVOGLView(frame: frame) - } + if let frame = frame { + glView = MPVOGLView(frame: frame) + } #endif mpv = mpv_create() diff --git a/Shared/Player/VideoDetails.swift b/Shared/Player/VideoDetails.swift index 5bc83e3c..2655d65e 100644 --- a/Shared/Player/VideoDetails.swift +++ b/Shared/Player/VideoDetails.swift @@ -97,12 +97,8 @@ struct VideoDetails: View { switch currentPage { case .info: - if player.isLoadingVideo { - PlaceholderProgressView() - } else { - ScrollView(.vertical, showsIndicators: false) { - detailsPage - } + ScrollView(.vertical, showsIndicators: false) { + detailsPage } case .queue: PlayerQueueView(sidebarQueue: $sidebarQueue, fullScreen: $fullScreen)