|
|
|
@ -1331,7 +1331,7 @@ class Plex(Library):
|
|
|
|
|
|
|
|
|
|
if is_top_level and self.asset_folders and self.dimensional_asset_rename and (not poster or not background):
|
|
|
|
|
for file in util.glob_filter(os.path.join(item_asset_directory, "*.*")):
|
|
|
|
|
if file.lower().endswith((".png", ".jpg", ".jpeg", "webp")) and re.match(r"s\d+e\d+|season\d+", file.lower()):
|
|
|
|
|
if file.lower().endswith((".png", ".jpg", ".jpeg", "webp")) and not re.match(r"s\d+e\d+|season\d+", file.lower()):
|
|
|
|
|
try:
|
|
|
|
|
image = Image.open(file)
|
|
|
|
|
_w, _h = image.size
|
|
|
|
|