fix(rename): 忽略抽字幕/字体的临时文件

This commit is contained in:
ali
2026-11-20 21:09:56 +08:00
parent 3f868b53b5
commit e5b150b08e
+3
View File
@@ -135,6 +135,9 @@ class RenamerService:
for asset in sorted(f_path.parent.iterdir()):
if not asset.is_file() or asset.suffix.lower() not in config.SIDECAR_EXTS:
continue
# 抽字幕/字体的临时文件(.scenemarshal-*.ass、.*.part*)还在写,别当成外挂字幕认领
if asset.name.startswith('.'):
continue
rest = RenamerService._sidecar_rest(asset, f_path, single_video)
if rest is None:
continue