mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43:07 +00:00
[46] remove warning
This commit is contained in:
parent
25b32453ea
commit
c2bb90c6dd
3 changed files with 6 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.0-develop45
|
||||
1.17.0-develop46
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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}.*")
|
||||
|
|
Loading…
Reference in a new issue