Merge pull request #167 from angelblue05/develop

Fix compare sync
This commit is contained in:
angelblue05 2019-01-20 04:49:43 -06:00 committed by GitHub
commit 5025fef16d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -266,7 +266,7 @@ class FullSync(object):
current = obj.item_ids current = obj.item_ids
for x in items: for x in items:
if x[0] not in current and current[1] == 'Movie': if x[0] not in current and x[1] == 'Movie':
obj.remove(x[0]) obj.remove(x[0])
@progress() @progress()
@ -314,7 +314,7 @@ class FullSync(object):
current = obj.item_ids current = obj.item_ids
for x in items: for x in items:
if x[0] not in current and current[1] == 'Series': if x[0] not in current and x[1] == 'Series':
obj.remove(x[0]) obj.remove(x[0])
@progress() @progress()
@ -352,7 +352,7 @@ class FullSync(object):
current = obj.item_ids current = obj.item_ids
for x in items: for x in items:
if x[0] not in current and current[1] == 'MusicVideo': if x[0] not in current and x[1] == 'MusicVideo':
obj.remove(x[0]) obj.remove(x[0])
@progress() @progress()
@ -412,7 +412,7 @@ class FullSync(object):
current = obj.item_ids current = obj.item_ids
for x in items: for x in items:
if x[0] not in current and current[1] == 'MusicArtist': if x[0] not in current and x[1] == 'MusicArtist':
obj.remove(x[0]) obj.remove(x[0])
@progress(_(33018)) @progress(_(33018))