Use file settings instead of window settings
This commit is contained in:
parent
a3d643c643
commit
4d7af7912d
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue