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
# 识别

View File

@ -627,7 +627,7 @@ class FileTransferModule(_ModuleBase):
# 原语种标题
"original_title": __convert_invalid_characters(mediainfo.original_title),
# 原文件名
"original_name": meta.org_string,
"original_name": meta.title,
# 识别名称(优先使用中文)
"name": meta.name,
# 识别的英文名称(可能为空)