add messaging to sync thread exit
This commit is contained in:
parent
faa376a520
commit
3c9aa10587
1 changed files with 9 additions and 1 deletions
|
@ -1061,6 +1061,14 @@ class LibrarySync(threading.Thread):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
|
try:
|
||||||
|
self.run_internal()
|
||||||
|
except Exception as e:
|
||||||
|
xbmcgui.Dialog().ok("Emby for Kodi", "Library sync thread has exited!", "You should restart Kodi now.", "Please report this on the forum.")
|
||||||
|
raise
|
||||||
|
|
||||||
|
def run_internal(self):
|
||||||
|
|
||||||
startupComplete = False
|
startupComplete = False
|
||||||
kodiProfile = xbmc.translatePath("special://profile")
|
kodiProfile = xbmc.translatePath("special://profile")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue