fix:统一调整文件类型支持

This commit is contained in:
jxxghp
2026-01-21 17:59:18 +08:00
parent 25fd47f57b
commit 567522c87a
6 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -301,7 +301,8 @@ class MetaVideo(MetaBase):
return
else:
# 后缀名不要
if ".%s".lower() % token in settings.RMT_MEDIAEXT:
media_exts = settings.RMT_MEDIAEXT + settings.RMT_SUBEXT + settings.RMT_AUDIOEXT
if ".%s".lower() % token in media_exts:
return
# 英文或者英文+数字,拼装起来
if self.en_name: