diff --git a/VERSION b/VERSION index 7687a240..7eeaaf78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop33 +1.17.3-develop34 diff --git a/modules/plex.py b/modules/plex.py index 13c35348..d5905b9f 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -1155,14 +1155,13 @@ class Plex(Library): break if not item_asset_directory: if self.asset_folders: - extra = "" if self.create_asset_folders and asset_directory: item_asset_directory = os.path.join(asset_directory[0], folder_name) os.makedirs(item_asset_directory, exist_ok=True) - extra = f"\nAsset Directory Created: {item_asset_directory}" - raise Failed(f"Asset Warning: Unable to find asset folder: '{folder_name}{extra}'") - else: - return None, None, item_asset_directory, folder_name + logger.warning(f"Asset Warning: Asset Directory Not Found and Created: {item_asset_directory}") + else: + raise Failed(f"Asset Warning: Unable to find asset folder: '{folder_name}'") + return None, None, item_asset_directory, folder_name poster_filter = os.path.join(item_asset_directory, f"{file_name}.*") background_filter = os.path.join(item_asset_directory, "background.*" if file_name == "poster" else f"{file_name}_background.*")