diff --git a/resources/lib/downloader.py b/resources/lib/downloader.py index 0171ceff..59d8fb56 100644 --- a/resources/lib/downloader.py +++ b/resources/lib/downloader.py @@ -316,7 +316,7 @@ def get_objects(src, filename): if not xbmcvfs.exists(path): delete_folder() - LOG.info("From %s to %s", src, path) + LOG.info("From %s to %s", src, path.decode('utf-8')) try: response = requests.get(src, stream=True, verify=False) response.raise_for_status() diff --git a/resources/lib/helper/utils.py b/resources/lib/helper/utils.py index 04ff3052..4f81ecde 100644 --- a/resources/lib/helper/utils.py +++ b/resources/lib/helper/utils.py @@ -272,6 +272,7 @@ def delete_folder(path=None): if delete_path: xbmcvfs.delete(path) + LOG.info("DELETE %s", path) def delete_recursive(path, dirs): diff --git a/resources/lib/library.py b/resources/lib/library.py index 7b466aa1..f3ae3af9 100644 --- a/resources/lib/library.py +++ b/resources/lib/library.py @@ -283,7 +283,7 @@ class Library(threading.Thread): total = len(updated) + len(userdata) - if total > int(settings('incSyncIndicator') or 99): + if total > int(settings('syncIndicator') or 99): if not dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total))): LOG.warn("Large updates skipped.") diff --git a/resources/settings.xml b/resources/settings.xml index a0c0319f..645dbe0f 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -20,7 +20,7 @@ - +