diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 3be231bd..d5ae345b 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1535,7 +1535,7 @@ class LibrarySync(Thread): sessionKey = item.get('sessionKey') # Do we already have a sessionKey stored? if sessionKey not in self.sessionKeys: - if window('plex_serverowned') == 'false': + if settings('plex_serverowned') == 'false': # Not our PMS, we are not authorized to get the # sessions # On the bright side, it must be us playing :-) @@ -1554,7 +1554,7 @@ class LibrarySync(Thread): continue currSess = self.sessionKeys[sessionKey] - if window('plex_serverowned') != 'false': + 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 # (Owner sometime's returns id '1', not always) diff --git a/resources/lib/userclient.py b/resources/lib/userclient.py index 308dc06e..78aff86b 100644 --- a/resources/lib/userclient.py +++ b/resources/lib/userclient.py @@ -174,7 +174,6 @@ class UserClient(threading.Thread): window('plex_machineIdentifier', value=self.machineIdentifier) window('plex_servername', value=self.servername) window('plex_authenticated', value='true') - window('plex_serverowned', value=settings('plex_serverowned')) window('useDirectPaths', value='true' if settings('useDirectPaths') == "1" else 'false')