mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
add messaging to sync thread exit
This commit is contained in:
parent
faa376a520
commit
3c9aa10587
1 changed files with 9 additions and 1 deletions
|
@ -1058,8 +1058,16 @@ class LibrarySync(threading.Thread):
|
|||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
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
|
||||
kodiProfile = xbmc.translatePath("special://profile")
|
||||
|
|
Loading…
Reference in a new issue