mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Make sure we only sync boxsets once
This commit is contained in:
parent
37a72759cb
commit
8b89ff3deb
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ class FullSync(object):
|
|||
# Include boxsets library
|
||||
libraries = self.get_libraries()
|
||||
boxsets = [row.view_id for row in libraries if row.media_type == 'boxsets']
|
||||
if boxsets:
|
||||
# Verify we're only trying to sync boxsets once
|
||||
if boxsets and boxsets[0] not in self.sync['Libraries']:
|
||||
self.sync['Libraries'].append('Boxsets:%s' % boxsets[0])
|
||||
else:
|
||||
# Only called if the library isn't already known about
|
||||
|
|
Loading…
Reference in a new issue