Fix stream init if quickly changing to the next video

This commit is contained in:
croneter 2021-11-05 19:12:41 +01:00
parent f2e2be6da7
commit 5714d4fb0a

View file

@ -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':