mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Fix update generating duplicates
This commit is contained in:
parent
f617619430
commit
b80c5f7f57
1 changed files with 4 additions and 4 deletions
|
@ -266,7 +266,7 @@ class FullSync(object):
|
|||
current = obj.item_ids
|
||||
|
||||
for x in items:
|
||||
if x[0] not in current:
|
||||
if x[0] not in current and current[1] == 'Movie':
|
||||
obj.remove(x[0])
|
||||
|
||||
@progress()
|
||||
|
@ -314,7 +314,7 @@ class FullSync(object):
|
|||
current = obj.item_ids
|
||||
|
||||
for x in items:
|
||||
if x[0] not in current:
|
||||
if x[0] not in current and current[1] == 'Series':
|
||||
obj.remove(x[0])
|
||||
|
||||
@progress()
|
||||
|
@ -352,7 +352,7 @@ class FullSync(object):
|
|||
current = obj.item_ids
|
||||
|
||||
for x in items:
|
||||
if x[0] not in current:
|
||||
if x[0] not in current and current[1] == 'MusicVideo':
|
||||
obj.remove(x[0])
|
||||
|
||||
@progress()
|
||||
|
@ -412,7 +412,7 @@ class FullSync(object):
|
|||
current = obj.item_ids
|
||||
|
||||
for x in items:
|
||||
if x[0] not in current:
|
||||
if x[0] not in current and current[1] == 'MusicArtist':
|
||||
obj.remove(x[0])
|
||||
|
||||
@progress(_(33018))
|
||||
|
|
Loading…
Reference in a new issue