From a21d4912c6a3a4ad20d193f812a13bd05289e798 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 17 May 2021 13:47:57 -0400 Subject: [PATCH] fixed an issue with collections not syncing --- modules/builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/builder.py b/modules/builder.py index 6832d2c8..786213c1 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -214,7 +214,6 @@ class CollectionBuilder: self.backgrounds = {} self.summaries = {} self.schedule = "" - self.rating_key_map = {} self.add_to_radarr = None self.add_to_sonarr = None current_time = datetime.now() @@ -1505,7 +1504,7 @@ class CollectionBuilder: def sync_collection(self): logger.info("") 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: logger.info(f"{self.name} Collection | - | {item.title}") if self.smart_label_collection: