mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43: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)
|
||||
logger.info("")
|
||||
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:
|
||||
logger.info("")
|
||||
util.separator(f"Missing from Library", space=False, border=False)
|
||||
|
|
Loading…
Reference in a new issue