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:
init = True
if init is False and plex_id is not None:
if plex_id != playqueue.items[
state.PLAYER_STATES[playerid]['position']].id:
if plex_id != playqueue.items[info['position']].id:
init = True
elif init is False and path != playqueue.items[
state.PLAYER_STATES[playerid]['position']].file:
elif init is False and path != playqueue.items[info['position']].file:
init = True
if init is True:
LOG.debug('Need to initialize Plex and PKC playqueue')