Fix --all flag to actually reprocess all videos

This commit is contained in:
Mario Lavoie
2026-01-28 02:26:14 +00:00
parent 3e40e5b7a0
commit da8526772b

View File

@@ -89,7 +89,11 @@ def process(project_path: Path, process_all: bool, export_only: bool):
proj = Project.load(project_path)
config = load_config()
pending = proj.get_pending_videos()
if process_all:
pending = proj.manifest.videos # All videos
else:
pending = proj.get_pending_videos()
if not pending:
console.print("[yellow]No pending videos to process[/yellow]")
return