mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Why ever would I want the sync_id back when I query with it?
This commit is contained in:
parent
8517597262
commit
2bade17e7f
1 changed files with 6 additions and 1 deletions
|
@ -223,7 +223,12 @@ class FullSync(object):
|
||||||
if not sync_id or sync_id == 'Refresh':
|
if not sync_id or sync_id == 'Refresh':
|
||||||
libraries = self.get_libraries()
|
libraries = self.get_libraries()
|
||||||
else:
|
else:
|
||||||
libraries = [self.get_library(sync_id)]
|
res = self.get_library(sync_id)
|
||||||
|
if res is not None:
|
||||||
|
# FIXME: This is a hack. Fix plz.
|
||||||
|
libraries = [(sync_id,), res]
|
||||||
|
else:
|
||||||
|
libraries = []
|
||||||
|
|
||||||
for entry in libraries:
|
for entry in libraries:
|
||||||
if entry[2] == 'boxsets':
|
if entry[2] == 'boxsets':
|
||||||
|
|
Loading…
Reference in a new issue