pull/970/head v1.17.2
meisnate12 2 years ago
parent 9111f77c7f
commit 510fb959b7

@ -1 +1 @@
1.17.1-develop42 1.17.2

@ -316,6 +316,13 @@ class Overlays:
raise Failed(f"Overlay Error: Overlay {builder.overlay.mapping_name} already exists") raise Failed(f"Overlay Error: Overlay {builder.overlay.mapping_name} already exists")
properties[builder.overlay.mapping_name] = builder.overlay 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: for method, value in builder.builders:
logger.debug("") logger.debug("")
logger.debug(f"Builder: {method}: {value}") logger.debug(f"Builder: {method}: {value}")
@ -324,17 +331,11 @@ class Overlays:
builder.filter_and_save_items(builder.gather_ids(method, value)) builder.filter_and_save_items(builder.gather_ids(method, value))
except NonExisting as e: except NonExisting as e:
if builder.ignore_blank_results: if builder.ignore_blank_results:
logger.warning("")
logger.warning(e) logger.warning(e)
else: else:
raise Failed(e) 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 = [] added_titles = []
if builder.added_items: if builder.added_items:
for item in 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") logger.info(f"{len(added_titles)} Items found for {builder.overlay.mapping_name} Overlay")
else: else:
logger.warning(f"No Items found for {builder.overlay.mapping_name} Overlay") logger.warning(f"No Items found for {builder.overlay.mapping_name} Overlay")
logger.info("")
except NotScheduled as e: except NotScheduled as e:
logger.info(e) logger.info(e)
except Failed as e: except Failed as e:

Loading…
Cancel
Save