Fix KeyErrors
This commit is contained in:
parent
57ec06ae4d
commit
820b514740
1 changed files with 1 additions and 1 deletions
|
@ -1290,7 +1290,7 @@ class LibrarySync(Thread):
|
||||||
if status == 'buffering':
|
if status == 'buffering':
|
||||||
continue
|
continue
|
||||||
ratingKey = str(item['ratingKey'])
|
ratingKey = str(item['ratingKey'])
|
||||||
for pid in (1, 2, 3):
|
for pid in (0, 1, 2):
|
||||||
if ratingKey == state.PLAYER_STATES[pid]['plex_id']:
|
if ratingKey == state.PLAYER_STATES[pid]['plex_id']:
|
||||||
# Kodi is playing this item - no need to set the playstate
|
# Kodi is playing this item - no need to set the playstate
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue