Fix ignoring Companion updates for the playing item
This commit is contained in:
parent
7d61f153c3
commit
a2d0f98c9b
1 changed files with 5 additions and 2 deletions
|
@ -1290,10 +1290,13 @@ class LibrarySync(Thread):
|
|||
if status == 'buffering':
|
||||
# Drop buffering messages immediately
|
||||
continue
|
||||
plex_id = str(item['ratingKey'])
|
||||
plex_id = item['ratingKey']
|
||||
skip = False
|
||||
for pid in (0, 1, 2):
|
||||
if plex_id == state.PLAYER_STATES[pid]['plex_id']:
|
||||
# Kodi is playing this item - no need to set the playstate
|
||||
skip = True
|
||||
if skip:
|
||||
continue
|
||||
sessionKey = item['sessionKey']
|
||||
# Do we already have a sessionKey stored?
|
||||
|
|
Loading…
Reference in a new issue