This commit is contained in:
jxxghp
2024-04-22 09:31:35 +08:00
parent 441cee4ee5
commit 750c4441db
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@ def MetaInfo(title: str, subtitle: str = None) -> MetaBase:
# 判断是否处理文件
if title and Path(title).suffix.lower() in settings.RMT_MEDIAEXT:
isfile = True
# 去掉后缀
title = Path(title).stem
else:
isfile = False
# 识别