From 5714d4fb0a7424e0dc6af66ece1951fd862127fd Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 5 Nov 2021 19:12:41 +0100 Subject: [PATCH] Fix stream init if quickly changing to the next video --- resources/lib/playlist_func.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/playlist_func.py b/resources/lib/playlist_func.py index 41a92ff5..e23e81ab 100644 --- a/resources/lib/playlist_func.py +++ b/resources/lib/playlist_func.py @@ -247,6 +247,9 @@ class PlaylistItem(object): """ Initializes all streams after Kodi has started playing this video """ + if not app.PLAYSTATE.item == self: + # Already stopped playback or skipped to the next one + return self.init_kodi_streams() self.switch_to_plex_stream('video') if utils.settings('audioStreamPick') == '0':