This commit is contained in:
croneter 2017-12-21 09:43:16 +01:00
parent 4547ec52af
commit 02f48dd15f

View file

@ -311,11 +311,9 @@ class KodiMonitor(Monitor):
except IndexError: except IndexError:
init = True init = True
if init is False and plex_id is not None: if init is False and plex_id is not None:
if plex_id != playqueue.items[ if plex_id != playqueue.items[info['position']].id:
state.PLAYER_STATES[playerid]['position']].id:
init = True init = True
elif init is False and path != playqueue.items[ elif init is False and path != playqueue.items[info['position']].file:
state.PLAYER_STATES[playerid]['position']].file:
init = True init = True
if init is True: if init is True:
LOG.debug('Need to initialize Plex and PKC playqueue') LOG.debug('Need to initialize Plex and PKC playqueue')