This commit is contained in:
angelblue05 2016-09-04 23:45:11 -05:00
parent a658459862
commit 8319f2f0df
2 changed files with 1 additions and 2 deletions

View file

@ -606,7 +606,6 @@ class ConnectionManager(object):
'X-MediaBrowser-Token': server['AccessToken'] 'X-MediaBrowser-Token': server['AccessToken']
} }
}) })
# TODO: add apiclient
except Exception: except Exception:
server['UserId'] = None server['UserId'] = None

View file

@ -155,7 +155,7 @@ class LibrarySync(threading.Thread):
overlap = 2 overlap = 2
try: # datetime fails when used more than once, TypeError try: # datetime fails when used more than once, TypeError
if isFastSync: if self.isFastSync:
result = self.doUtils("{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json") result = self.doUtils("{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json")
server_time = result['ServerDateTime'] server_time = result['ServerDateTime']
server_time = utils.convertDate(server_time) server_time = utils.convertDate(server_time)