mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-08-19 14:01:35 +00:00
Rework downloadutils (#63)
This commit is contained in:
parent
9fda48f7fe
commit
a00d55ac0e
10 changed files with 333 additions and 192 deletions
|
@ -1032,7 +1032,6 @@ class LibrarySync(threading.Thread):
|
|||
line1=lang(33024))
|
||||
break
|
||||
|
||||
|
||||
# Run start up sync
|
||||
log.warn("Database version: %s", window('emby_version'))
|
||||
log.info("SyncDatabase (started)")
|
||||
|
@ -1041,6 +1040,9 @@ class LibrarySync(threading.Thread):
|
|||
elapsedTime = datetime.now() - startTime
|
||||
log.info("SyncDatabase (finished in: %s) %s"
|
||||
% (str(elapsedTime).split('.')[0], librarySync))
|
||||
|
||||
# Add other servers at this point
|
||||
self.user.load_connect_servers()
|
||||
# Only try the initial sync once per kodi session regardless
|
||||
# This will prevent an infinite loop in case something goes wrong.
|
||||
startupComplete = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue