From ef1f95a3ad9cfe92f99436b682359610beb4a905 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 11 Nov 2022 20:34:37 +0100 Subject: [PATCH] Fix ignoring loaded video details --- Model/Player/PlayerStreams.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Player/PlayerStreams.swift b/Model/Player/PlayerStreams.swift index e8d82e49..9970dbc0 100644 --- a/Model/Player/PlayerStreams.swift +++ b/Model/Player/PlayerStreams.swift @@ -34,7 +34,7 @@ extension PlayerModel { .load() .onSuccess { response in if let video: Video = response.typedContent() { - guard video == self.currentVideo else { + guard video.videoID == self.currentVideo?.videoID else { self.logger.info("ignoring loaded streams from \(instance.description) as current video has changed") return }