add messaging to sync thread exit

This commit is contained in:
Shaun 2015-11-20 13:52:06 +11:00
parent faa376a520
commit 3c9aa10587

View file

@ -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")