mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-05 07:46:12 +00:00
cleaned sync code - added progress
fixed background sync with websocket
This commit is contained in:
parent
2eac7bbcb4
commit
d93f5044b3
5 changed files with 160 additions and 192 deletions
|
@ -116,11 +116,9 @@ class Service():
|
|||
#full sync
|
||||
if(startupComplete == False):
|
||||
self.logMsg("Doing_Db_Sync: syncDatabase (Started)")
|
||||
libSync = librarySync.syncDatabase()
|
||||
libSync = librarySync.FullLibrarySync()
|
||||
self.logMsg("Doing_Db_Sync: syncDatabase (Finished) " + str(libSync))
|
||||
|
||||
# Force refresh newly set thumbnails
|
||||
xbmc.executebuiltin("UpdateLibrary(video)")
|
||||
if(libSync):
|
||||
startupComplete = True
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue