Fix stream init if quickly changing to the next video
This commit is contained in:
parent
f2e2be6da7
commit
5714d4fb0a
1 changed files with 3 additions and 0 deletions
|
@ -247,6 +247,9 @@ class PlaylistItem(object):
|
||||||
"""
|
"""
|
||||||
Initializes all streams after Kodi has started playing this video
|
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.init_kodi_streams()
|
||||||
self.switch_to_plex_stream('video')
|
self.switch_to_plex_stream('video')
|
||||||
if utils.settings('audioStreamPick') == '0':
|
if utils.settings('audioStreamPick') == '0':
|
||||||
|
|
Loading…
Reference in a new issue