mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Change settings name
To ensure it takes default value instead of previous value set in 3.0.34
This commit is contained in:
parent
97a4e4d4e6
commit
570a233d14
4 changed files with 4 additions and 3 deletions
|
@ -316,7 +316,7 @@ def get_objects(src, filename):
|
||||||
if not xbmcvfs.exists(path):
|
if not xbmcvfs.exists(path):
|
||||||
delete_folder()
|
delete_folder()
|
||||||
|
|
||||||
LOG.info("From %s to %s", src, path)
|
LOG.info("From %s to %s", src, path.decode('utf-8'))
|
||||||
try:
|
try:
|
||||||
response = requests.get(src, stream=True, verify=False)
|
response = requests.get(src, stream=True, verify=False)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
|
|
@ -272,6 +272,7 @@ def delete_folder(path=None):
|
||||||
|
|
||||||
if delete_path:
|
if delete_path:
|
||||||
xbmcvfs.delete(path)
|
xbmcvfs.delete(path)
|
||||||
|
|
||||||
LOG.info("DELETE %s", path)
|
LOG.info("DELETE %s", path)
|
||||||
|
|
||||||
def delete_recursive(path, dirs):
|
def delete_recursive(path, dirs):
|
||||||
|
|
|
@ -283,7 +283,7 @@ class Library(threading.Thread):
|
||||||
|
|
||||||
total = len(updated) + len(userdata)
|
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))):
|
if not dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total))):
|
||||||
LOG.warn("Large updates skipped.")
|
LOG.warn("Large updates skipped.")
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<category label="30506"><!-- Sync Options -->
|
<category label="30506"><!-- Sync Options -->
|
||||||
<setting label="33137" id="kodiCompanion" type="bool" default="true" />
|
<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="33111" type="lsep" />
|
||||||
<setting label="30511" id="useDirectPaths" type="enum" lvalues="33036|33037" default="1" />
|
<setting label="30511" id="useDirectPaths" type="enum" lvalues="33036|33037" default="1" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue