mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[61] fix dimensional_asset_rename
This commit is contained in:
parent
93f3ded877
commit
1155eb9ca7
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop60
|
||||
1.18.3-develop61
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue