From 7e2a11ea28ddba1e447ac7722961103c8e9d9c5a Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 17 Sep 2016 20:36:53 +0200 Subject: [PATCH] Don't double-update playstate of a playing item --- resources/lib/librarysync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 2f3e095a..25a57776 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1546,6 +1546,9 @@ class LibrarySync(Thread): continue currSess = self.sessionKeys[sessionKey] + if window('plex_currently_playing_itemid') == ratingKey: + # Don't update what we already know + continue if settings('plex_serverowned') != 'false': # Identify the user - same one as signed on with PKC? Skip # update if neither session's username nor userid match