mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix followup sync again
This commit is contained in:
parent
6f9334f76d
commit
a1f3d8eb10
1 changed files with 25 additions and 23 deletions
|
@ -68,7 +68,7 @@ class FullSync(object):
|
|||
|
||||
return self
|
||||
|
||||
def libraries(self, library_id=None, update=False):
|
||||
def libraries(self, libraries=None, update=False):
|
||||
|
||||
''' Map the syncing process and start the sync. Ensure only one sync is running.
|
||||
'''
|
||||
|
@ -76,8 +76,10 @@ class FullSync(object):
|
|||
self.update_library = update
|
||||
self.sync = get_sync()
|
||||
|
||||
if library_id:
|
||||
|
||||
if libraries:
|
||||
# Can be a single ID or a comma separated list
|
||||
libraries = libraries.split(',')
|
||||
for library_id in libraries:
|
||||
# Look up library in local Jellyfin database
|
||||
library = self.get_library(library_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue