From 510fb959b735bb6c9e7baefeb6505a3b164bb20d Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 20 Jul 2022 10:27:52 -0400 Subject: [PATCH] 1.17.2 --- VERSION | 2 +- modules/overlays.py | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index b0fec8d2..06fb41b6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.1-develop42 +1.17.2 diff --git a/modules/overlays.py b/modules/overlays.py index 63a9cd9e..a2850545 100644 --- a/modules/overlays.py +++ b/modules/overlays.py @@ -316,6 +316,13 @@ class Overlays: raise Failed(f"Overlay Error: Overlay {builder.overlay.mapping_name} already exists") properties[builder.overlay.mapping_name] = builder.overlay + if builder.filters or builder.tmdb_filters: + logger.info("") + for filter_key, filter_value in builder.filters: + logger.info(f"Collection Filter {filter_key}: {filter_value}") + for filter_key, filter_value in builder.tmdb_filters: + logger.info(f"Collection Filter {filter_key}: {filter_value}") + for method, value in builder.builders: logger.debug("") logger.debug(f"Builder: {method}: {value}") @@ -324,17 +331,11 @@ class Overlays: builder.filter_and_save_items(builder.gather_ids(method, value)) except NonExisting as e: if builder.ignore_blank_results: + logger.warning("") logger.warning(e) else: raise Failed(e) - if builder.filters or builder.tmdb_filters: - logger.info("") - for filter_key, filter_value in builder.filters: - logger.info(f"Collection Filter {filter_key}: {filter_value}") - for filter_key, filter_value in builder.tmdb_filters: - logger.info(f"Collection Filter {filter_key}: {filter_value}") - added_titles = [] if builder.added_items: for item in builder.added_items: @@ -347,6 +348,7 @@ class Overlays: logger.info(f"{len(added_titles)} Items found for {builder.overlay.mapping_name} Overlay") else: logger.warning(f"No Items found for {builder.overlay.mapping_name} Overlay") + logger.info("") except NotScheduled as e: logger.info(e) except Failed as e: