From 043a2574b1cf9d343ca3e6066f4c47d862830544 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 24 Oct 2018 03:55:53 -0500 Subject: [PATCH] Change default behavior of startup dialog In case it is forced closed by Kodi, allow the sync to proceed --- resources/lib/library.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/library.py b/resources/lib/library.py index 702bf77b..bdcc0162 100644 --- a/resources/lib/library.py +++ b/resources/lib/library.py @@ -387,7 +387,9 @@ class Library(threading.Thread): 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.") return True