修复季海报下载路径和第0季海报命名

This commit is contained in:
zhanglijun
2024-11-26 22:01:00 +08:00
parent 4e27a1e623
commit 132fde2308
2 changed files with 8 additions and 3 deletions
+3 -2
View File
@@ -547,9 +547,10 @@ class MediaChain(ChainBase, metaclass=Singleton):
continue
# 下载图片
content = __download_image(image_url)
# 保存图片文件到当前目录
# 保存图片文件到剧集目录
if content:
__save_file(_fileitem=fileitem, _path=image_path, _content=content)
parent = self.storagechain.get_parent_item(fileitem)
__save_file(_fileitem=parent, _path=image_path, _content=content)
# 判断当前目录是不是剧集根目录
if not season_meta.season:
# 是否已存在