From 2ef213b4e36cd46c88880c1c112b669e28b924e2 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 18 Feb 2016 22:06:33 -0600 Subject: [PATCH] Fix for proxy --- resources/lib/librarysync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index c894f0c5..32774c1c 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -114,7 +114,7 @@ class LibrarySync(threading.Thread): log("Last sync run: %s" % lastSyncTime, 1) # get server RetentionDateTime - url = "{server}/Emby.Kodi.SyncQueue/GetServerDateTime?format=json" + url = "{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json" result = doUtils(url) retention_time = "2010-01-01T00:00:00Z" if result and result.get('RetentionDateTime'): @@ -166,7 +166,7 @@ class LibrarySync(threading.Thread): # Save last sync time overlap = 2 - url = "{server}/Emby.Kodi.SyncQueue/GetServerDateTime?format=json" + url = "{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json" result = self.doUtils(url) try: # datetime fails when used more than once, TypeError server_time = result['ServerDateTime']