assets for all fix

This commit is contained in:
meisnate12 2021-11-15 15:31:38 -05:00
parent fa0aedb24d
commit 6b24a7b112

View file

@ -300,6 +300,8 @@ def library_operations(config, library, items=None):
logger.error(e) logger.error(e)
continue continue
util.print_return(f"Processing: {i}/{len(items)} {item.title}") util.print_return(f"Processing: {i}/{len(items)} {item.title}")
if library.assets_for_all:
library.update_item_from_assets(item, create=library.create_asset_folders)
tmdb_id = None tmdb_id = None
tvdb_id = None tvdb_id = None
imdb_id = None imdb_id = None
@ -425,8 +427,6 @@ def library_operations(config, library, items=None):
except Failed: except Failed:
pass pass
if library.assets_for_all:
library.update_item_from_assets(item, create=library.create_asset_folders)
if library.Radarr and library.radarr_add_all: if library.Radarr and library.radarr_add_all:
try: try: