From b80c5f7f57676ffed510a1d6ecb9200c0c1eb59c Mon Sep 17 00:00:00 2001
From: angelblue05 <angelblue.dev@gmail.com>
Date: Mon, 14 Jan 2019 02:59:47 -0600
Subject: [PATCH] Fix update generating duplicates

---
 resources/lib/full_sync.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/resources/lib/full_sync.py b/resources/lib/full_sync.py
index c311b24e..13e07017 100644
--- a/resources/lib/full_sync.py
+++ b/resources/lib/full_sync.py
@@ -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))