Fix --all flag to actually reprocess all videos
This commit is contained in:
@@ -89,7 +89,11 @@ def process(project_path: Path, process_all: bool, export_only: bool):
|
|||||||
proj = Project.load(project_path)
|
proj = Project.load(project_path)
|
||||||
config = load_config()
|
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:
|
if not pending:
|
||||||
console.print("[yellow]No pending videos to process[/yellow]")
|
console.print("[yellow]No pending videos to process[/yellow]")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user