From a427e76c98f176b812a3804ee9b07341ca2a6afa Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 8 Jul 2021 14:51:29 -0400 Subject: [PATCH] text changes --- modules/builder.py | 12 ++++++------ modules/plex.py | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/builder.py b/modules/builder.py index d7e0b182..e879f00d 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1105,11 +1105,14 @@ class CollectionBuilder: keys = [keys] total = len(keys) max_length = len(str(total)) + if self.filters and self.details["show_filtered"] is True: + logger.info("") + logger.info("Filtering Builder:") for i, key in enumerate(keys, 1): if key not in self.rating_keys: if key in filtered_keys: if self.details["show_filtered"] is True: - logger.info(f"{filtered_keys[key][0]} Collection | X | {filtered_keys[key][1]}") + logger.info(f"{name} Collection | X | {filtered_keys[key]}") else: try: current = self.fetch_item(key) @@ -1121,7 +1124,7 @@ class CollectionBuilder: self.rating_keys.append(key) else: if key not in filtered_keys: - filtered_keys[key] = (name, current_title) + filtered_keys[key] = current_title if self.details["show_filtered"] is True: logger.info(f"{name} Collection | X | {current_title}") def check_map(input_ids): @@ -1143,12 +1146,9 @@ class CollectionBuilder: self.missing_shows.append(show_id) return items_found_inside for method, values in self.methods: - logger.debug("") - logger.debug(f"Method: {method}") - logger.debug(f"Values: {values}") for value in values: logger.debug("") - logger.debug(f"Value: {value}") + logger.debug(f"Builder: {method}: {value}") logger.info("") if "plex" in method: add_rating_keys(self.library.get_items(method, value)) elif "tautulli" in method: add_rating_keys(self.library.Tautulli.get_items(self.library, value)) diff --git a/modules/plex.py b/modules/plex.py index b5bbe0e4..ddc19463 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -362,7 +362,6 @@ class Plex: def get_all(self): logger.info(f"Loading All {'Movie' if self.is_movie else 'Show'}s from Library: {self.name}") - logger.info("") key = f"/library/sections/{self.Plex.key}/all?type={utils.searchType(self.Plex.TYPE)}" container_start = 0 container_size = plexapi.X_PLEX_CONTAINER_SIZE