fixed an issue with collections not syncing

pull/246/head
meisnate12 4 years ago
parent 433e0f2e7f
commit a21d4912c6

@ -214,7 +214,6 @@ class CollectionBuilder:
self.backgrounds = {} self.backgrounds = {}
self.summaries = {} self.summaries = {}
self.schedule = "" self.schedule = ""
self.rating_key_map = {}
self.add_to_radarr = None self.add_to_radarr = None
self.add_to_sonarr = None self.add_to_sonarr = None
current_time = datetime.now() current_time = datetime.now()
@ -1505,7 +1504,7 @@ class CollectionBuilder:
def sync_collection(self): def sync_collection(self):
logger.info("") logger.info("")
count_removed = 0 count_removed = 0
for ratingKey, item in self.rating_key_map.items(): for ratingKey, item in self.plex_map.items():
if item is not None: if item is not None:
logger.info(f"{self.name} Collection | - | {item.title}") logger.info(f"{self.name} Collection | - | {item.title}")
if self.smart_label_collection: if self.smart_label_collection:

Loading…
Cancel
Save