mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[16] run missing when no items are found
This commit is contained in:
parent
89d972ff5d
commit
4055c9fe7b
2 changed files with 4 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop15
|
||||
1.18.3-develop16
|
||||
|
|
|
@ -679,9 +679,6 @@ def run_collection(config, library, metadata, requested_collections):
|
|||
else:
|
||||
raise Failed(e)
|
||||
|
||||
if not builder.found_items and not builder.ignore_blank_results:
|
||||
raise NonExisting(f"{builder.Type} Warning: No items found")
|
||||
|
||||
builder.display_filters()
|
||||
|
||||
if len(builder.found_items) > 0 and len(builder.found_items) + builder.beginning_count >= builder.minimum and builder.build_collection:
|
||||
|
@ -703,6 +700,9 @@ def run_collection(config, library, metadata, requested_collections):
|
|||
library.stats["sonarr"] += sonarr_add
|
||||
library.status[str(mapping_name)]["sonarr"] += sonarr_add
|
||||
|
||||
if not builder.found_items and not builder.ignore_blank_results:
|
||||
raise NonExisting(f"{builder.Type} Warning: No items found")
|
||||
|
||||
valid = True
|
||||
if builder.build_collection and not builder.blank_collection and items_added + builder.beginning_count < builder.minimum:
|
||||
logger.info("")
|
||||
|
|
Loading…
Reference in a new issue