mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Change default behavior of startup dialog
In case it is forced closed by Kodi, allow the sync to proceed
This commit is contained in:
parent
531991c630
commit
043a2574b1
1 changed files with 3 additions and 1 deletions
|
@ -387,7 +387,9 @@ class Library(threading.Thread):
|
||||||
|
|
||||||
if total > int(settings('syncIndicator') or 99):
|
if total > int(settings('syncIndicator') or 99):
|
||||||
|
|
||||||
if not dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total))):
|
''' Inverse yes no, in case the dialog is forced closed by Kodi.
|
||||||
|
'''
|
||||||
|
if dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total)), nolabel=_(107), yeslabel=_(106)):
|
||||||
LOG.warn("Large updates skipped.")
|
LOG.warn("Large updates skipped.")
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue