Prettify
This commit is contained in:
parent
4547ec52af
commit
02f48dd15f
1 changed files with 2 additions and 4 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue