diff --git a/VERSION b/VERSION index 2c5222ee..91615de6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.0-develop45 +1.17.0-develop46 diff --git a/modules/overlays.py b/modules/overlays.py index d1f300e1..164984f8 100644 --- a/modules/overlays.py +++ b/modules/overlays.py @@ -130,9 +130,12 @@ class Overlays: overlay_change = True try: - poster, _, item_dir, _ = self.library.find_item_assets(item) + poster, _, item_dir, name = self.library.find_item_assets(item) if not poster and self.library.assets_for_all and self.library.show_missing_assets: - logger.warning(f"Asset Warning: No poster found in the assets folder '{item_dir}'") + if self.config.asset_folders: + logger.warning(f"Asset Warning: No poster found in the assets folder '{item_dir}'") + else: + logger.warning(f"Asset Warning: No poster '{name}' found in the assets folders") except Failed as e: if self.library.assets_for_all and self.library.show_missing_assets: logger.warning(e) diff --git a/modules/plex.py b/modules/plex.py index dbd07c8f..c113cc23 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -1070,8 +1070,6 @@ class Plex(Library): extra = f"\nAsset Directory Created: {item_asset_directory}" raise Failed(f"Asset Warning: Unable to find asset folder: '{folder_name}{extra}'") else: - if self.assets_for_all and self.show_missing_assets: - logger.warning(f"Asset Warning: Unable to find asset file: '{file_name}'") return None, None, item_asset_directory, folder_name poster_filter = os.path.join(item_asset_directory, f"{file_name}.*")