Change settings name

To ensure it takes default value instead of previous value set in 3.0.34
This commit is contained in:
angelblue05 2018-09-22 17:05:48 -05:00
parent 97a4e4d4e6
commit 570a233d14
4 changed files with 4 additions and 3 deletions

View file

@ -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()

View file

@ -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):

View file

@ -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.")

View file

@ -20,7 +20,7 @@
<category label="30506"><!-- Sync Options -->
<setting label="33137" id="kodiCompanion" type="bool" default="true" />
<setting label="30507" id="incSyncIndicator" type="number" default="99" visible="eq(-1,true)" subsetting="true"/>
<setting label="30507" id="syncIndicator" type="number" default="99" visible="eq(-1,true)" subsetting="true"/>
<setting label="33111" type="lsep" />
<setting label="30511" id="useDirectPaths" type="enum" lvalues="33036|33037" default="1" />