From 65b6411fb3669ce714946df3844d14398912ebab Mon Sep 17 00:00:00 2001 From: shaun Date: Sun, 5 Apr 2015 18:21:47 +1000 Subject: [PATCH] fix progress dialog error for box sets --- resources/lib/DownloadUtils.py | 4 ++-- resources/lib/LibrarySync.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/DownloadUtils.py b/resources/lib/DownloadUtils.py index 2930f029..b38cb3da 100644 --- a/resources/lib/DownloadUtils.py +++ b/resources/lib/DownloadUtils.py @@ -294,10 +294,10 @@ class DownloadUtils(): if (https == 'false'): #xbmc.log("Https disabled.") - conn = httplib.HTTPConnection(server, timeout=5) + conn = httplib.HTTPConnection(server, timeout=30) elif (https == 'true'): #xbmc.log("Https enabled.") - conn = httplib.HTTPSConnection(server, timeout=5) + conn = httplib.HTTPSConnection(server, timeout=30) # make the connection and send the request if(postBody != None): diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index 6b7f0425..13babb15 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -193,7 +193,7 @@ class LibrarySync(): if(pDialog != None): progressTitle = "Sync DB : BoxSets" - pDialog.update(percentage, progressTitle, "Updating Movie: " + str(count)) + pDialog.update(0, progressTitle, "Retrieving Boxset List") utils.logMsg("Sync Movies", "BoxSet Sync Started", 1) boxsets = ReadEmbyDB().getBoxSets()