mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-20 16:25:08 +00:00
Fix update library
Plug in remove library percentage
This commit is contained in:
parent
838ce36f44
commit
5ab2a7db5c
2 changed files with 15 additions and 3 deletions
|
@ -40,7 +40,7 @@ class FullSync(object):
|
|||
libraries = library_id.split(',')
|
||||
|
||||
for selected in libraries:
|
||||
if selected not in [x.replace('Mixed:', "") for x in self.sync['Whitelist']]:
|
||||
if selected not in [x.replace('Mixed:', "") for x in self.sync['Libraries']]:
|
||||
library = self.get_libraries(selected)
|
||||
|
||||
if library and library[1] == 'mixed':
|
||||
|
@ -51,6 +51,7 @@ class FullSync(object):
|
|||
self.mapping()
|
||||
|
||||
xmls.sources()
|
||||
|
||||
if not xmls.advanced_settings():
|
||||
self.start()
|
||||
|
||||
|
@ -189,9 +190,12 @@ class FullSync(object):
|
|||
|
||||
except Exception as error:
|
||||
|
||||
dialog("ok", heading="{emby}", line1=_(33119))
|
||||
if not 'Failed to validate path' in error:
|
||||
|
||||
dialog("ok", heading="{emby}", line1=_(33119))
|
||||
LOG.error("full sync exited unexpectedly")
|
||||
|
||||
save_sync(self.sync)
|
||||
LOG.error("full sync exited unexpectedly")
|
||||
|
||||
raise
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue