mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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
|
# Include boxsets library
|
||||||
libraries = self.get_libraries()
|
libraries = self.get_libraries()
|
||||||
boxsets = [row.view_id for row in libraries if row.media_type == 'boxsets']
|
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])
|
self.sync['Libraries'].append('Boxsets:%s' % boxsets[0])
|
||||||
else:
|
else:
|
||||||
# Only called if the library isn't already known about
|
# Only called if the library isn't already known about
|
||||||
|
|
Loading…
Reference in a new issue