This commit is contained in:
jxxghp
2024-11-17 14:56:42 +08:00
parent 4636c7ada7
commit 57590323b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ class TorrentHelper(metaclass=Singleton):
if not file:
continue
file_path = Path(file)
if file_path.suffix not in settings.RMT_MEDIAEXT:
if not file_path.suffix or file_path.suffix.lower() not in settings.RMT_MEDIAEXT:
continue
# 只使用文件名识别
meta = MetaInfo(file_path.stem)