|
|
@ -1002,7 +1002,8 @@ class Plex(Library):
|
|
|
|
if isinstance(item, (Movie, Show)) and not poster and overlay:
|
|
|
|
if isinstance(item, (Movie, Show)) and not poster and overlay:
|
|
|
|
self.upload_images(item, overlay=overlay)
|
|
|
|
self.upload_images(item, overlay=overlay)
|
|
|
|
if create and folders and not found_folder:
|
|
|
|
if create and folders and not found_folder:
|
|
|
|
found_folder = os.path.join(self.asset_directory[0], name)
|
|
|
|
filename, _ = util.validate_filename(name)
|
|
|
|
|
|
|
|
found_folder = os.path.join(self.asset_directory[0], filename)
|
|
|
|
os.makedirs(found_folder, exist_ok=True)
|
|
|
|
os.makedirs(found_folder, exist_ok=True)
|
|
|
|
logger.info(f"Asset Directory Created: {found_folder}")
|
|
|
|
logger.info(f"Asset Directory Created: {found_folder}")
|
|
|
|
elif isinstance(item, (Movie, Show)) and not overlay and folders and not found_folder:
|
|
|
|
elif isinstance(item, (Movie, Show)) and not overlay and folders and not found_folder:
|
|
|
|