Fix subtitle streams missmatch between Kodi and Plex
This commit is contained in:
parent
f2cd4d68ea
commit
dfa1b4beaa
1 changed files with 5 additions and 0 deletions
|
@ -367,6 +367,11 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
|
|
||||||
# We need to switch to the Plex streams ONCE upon playback start
|
# We need to switch to the Plex streams ONCE upon playback start
|
||||||
if playerid == v.KODI_VIDEO_PLAYER_ID:
|
if playerid == v.KODI_VIDEO_PLAYER_ID:
|
||||||
|
# The Kodi player takes forever to initialize all streams
|
||||||
|
# Especially subtitles, apparently. No way to tell when Kodi
|
||||||
|
# is done :-(
|
||||||
|
if app.APP.monitor.waitForAbort(5):
|
||||||
|
return
|
||||||
item.init_kodi_streams()
|
item.init_kodi_streams()
|
||||||
item.switch_to_plex_stream('video')
|
item.switch_to_plex_stream('video')
|
||||||
if utils.settings('audioStreamPick') == '0':
|
if utils.settings('audioStreamPick') == '0':
|
||||||
|
|
Loading…
Reference in a new issue