This commit is contained in:
jxxghp 2023-09-01 18:24:43 +08:00
parent 5dc11b07e3
commit 55c061176d
2 changed files with 5 additions and 2 deletions

View File

@ -252,7 +252,7 @@ class TransferChain(ChainBase):
continue
# 汇总信息
mkey = (file_mediainfo.tmdb_id, meta.begin_season)
mkey = (file_mediainfo.tmdb_id, file_meta.begin_season)
if mkey not in medias:
# 新增信息
metas[mkey] = file_meta

View File

@ -256,7 +256,10 @@ class MediaInfo:
"""
获取图片地址
"""
return getattr(self, f"{name}_path")
try:
return getattr(self, f"{name}_path")
except AttributeError:
return None
def set_category(self, cat: str):
"""