mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix resume sync behavior
Allow to complete the startup sync in the event user backs out of resume sync
This commit is contained in:
parent
b4791b1412
commit
d251db8d1a
1 changed files with 9 additions and 1 deletions
|
@ -298,8 +298,16 @@ class Library(threading.Thread):
|
|||
Views().get_nodes()
|
||||
|
||||
try:
|
||||
if get_sync()['Libraries'] or not settings('SyncInstallRunDone.bool'):
|
||||
if get_sync()['Libraries']:
|
||||
|
||||
try:
|
||||
FullSync(self)
|
||||
Views().get_nodes()
|
||||
except Exception as error:
|
||||
LOG.error(error)
|
||||
|
||||
elif not settings('SyncInstallRunDone.bool'):
|
||||
|
||||
FullSync(self)
|
||||
Views().get_nodes()
|
||||
|
||||
|
|
Loading…
Reference in a new issue