mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
dialog reference issues
This commit is contained in:
parent
c473305556
commit
a715281a84
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,7 @@ def reset():
|
||||||
while(WINDOW.getProperty("SyncDatabaseRunning") == "true"):
|
while(WINDOW.getProperty("SyncDatabaseRunning") == "true"):
|
||||||
count += 1
|
count += 1
|
||||||
if(count > 10):
|
if(count > 10):
|
||||||
|
dialog = xbmcgui.Dialog()
|
||||||
dialog.ok('Warning', 'Could not stop DB sync, you should try again.')
|
dialog.ok('Warning', 'Could not stop DB sync, you should try again.')
|
||||||
return
|
return
|
||||||
xbmc.sleep(1000)
|
xbmc.sleep(1000)
|
||||||
|
@ -180,6 +181,7 @@ def reset():
|
||||||
except:
|
except:
|
||||||
deletecount += 1
|
deletecount += 1
|
||||||
if(deletecount > 10):
|
if(deletecount > 10):
|
||||||
|
dialog = xbmcgui.Dialog()
|
||||||
dialog.ok('Warning', 'Could not delete Database, please try again later')
|
dialog.ok('Warning', 'Could not delete Database, please try again later')
|
||||||
return
|
return
|
||||||
xbmc.sleep(1000)
|
xbmc.sleep(1000)
|
||||||
|
|
Loading…
Reference in a new issue