跳过 macOS 资源分支文件(._ 开头)避免转码报错
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -97,6 +97,8 @@ def main():
|
||||
tasks = []
|
||||
print(f"正在扫描目录: {input_root} ...")
|
||||
for file in input_root.rglob("*"):
|
||||
if file.name.startswith("._"):
|
||||
continue
|
||||
if file.suffix.lower() in VIDEO_EXTS:
|
||||
# 计算相对路径并更换后缀为 .mp4
|
||||
rel_path = file.relative_to(input_root)
|
||||
|
||||
Reference in New Issue
Block a user