Don't double-update playstate of a playing item

This commit is contained in:
tomkat83 2016-09-17 20:36:53 +02:00
parent 2ca4ad7b6c
commit 7e2a11ea28

View file

@ -1546,6 +1546,9 @@ class LibrarySync(Thread):
continue continue
currSess = self.sessionKeys[sessionKey] currSess = self.sessionKeys[sessionKey]
if window('plex_currently_playing_itemid') == ratingKey:
# Don't update what we already know
continue
if settings('plex_serverowned') != 'false': if settings('plex_serverowned') != 'false':
# Identify the user - same one as signed on with PKC? Skip # Identify the user - same one as signed on with PKC? Skip
# update if neither session's username nor userid match # update if neither session's username nor userid match