mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-23 04:53:07 +00:00
#348 only run missing when needed
This commit is contained in:
parent
b6005b0f03
commit
711ae08372
1 changed files with 3 additions and 1 deletions
|
@ -448,7 +448,9 @@ def run_collection(config, library, metadata, requested_collections):
|
||||||
util.separator(f"Adding to {mapping_name} Collection", space=False, border=False)
|
util.separator(f"Adding to {mapping_name} Collection", space=False, border=False)
|
||||||
logger.info("")
|
logger.info("")
|
||||||
builder.add_to_collection()
|
builder.add_to_collection()
|
||||||
if len(builder.missing_movies) > 0 or len(builder.missing_shows) > 0:
|
if (builder.details["show_missing"] is True or builder.details["save_missing"] is True
|
||||||
|
or (library.Radarr and builder.add_to_radarr) or (library.Sonarr and builder.add_to_sonarr)) \
|
||||||
|
and (len(builder.missing_movies) > 0 or len(builder.missing_shows) > 0):
|
||||||
if builder.details["show_missing"] is True:
|
if builder.details["show_missing"] is True:
|
||||||
logger.info("")
|
logger.info("")
|
||||||
util.separator(f"Missing from Library", space=False, border=False)
|
util.separator(f"Missing from Library", space=False, border=False)
|
||||||
|
|
Loading…
Reference in a new issue