From 288c91ca9d8e706a07fe08c7c3ede31a4d39dec9 Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Tue, 7 May 2024 22:04:07 +1000 Subject: [PATCH] Fix not detecting headers appended to curl request url #746 --- .../lib/youtube_plugin/kodion/monitors/player_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/youtube_plugin/kodion/monitors/player_monitor.py b/resources/lib/youtube_plugin/kodion/monitors/player_monitor.py index 3bdbda931..0604c10f7 100644 --- a/resources/lib/youtube_plugin/kodion/monitors/player_monitor.py +++ b/resources/lib/youtube_plugin/kodion/monitors/player_monitor.py @@ -113,10 +113,10 @@ def run(self): self.stop() break - if ((current_file != playing_file and not ( + if (not current_file.startswith(playing_file) and not ( self._context.is_plugin_path(current_file, 'play/') and video_id_param in current_file - )) or total_time <= 0): + )) or total_time <= 0: self.stop() break