This commit is contained in:
2026-03-15 11:13:09 +01:00
parent 6949124fa7
commit 757d966803
5 changed files with 20 additions and 5 deletions
+4 -3
View File
@@ -911,14 +911,15 @@ def cmd_stitch(
narration,
stitch_output,
verbose=verbose,
default_end_trim=config.default_end_trim if config else 0.0,
)
# Run import videos again, because at this point narration_combined might have been created.
_import_videos(videos_dir, config, verbose)
# Always update the MAIN videos.json (parent directory when in proxy mode)
# Proxy mode only affects file paths, not JSON metadata updates
main_videos_dir = videos_dir.parent if proxy else videos_dir
# Always update the MAIN videos.json (parent of subdir when using low/tiny res)
# Downscaled dirs only affect file paths, not JSON metadata updates
main_videos_dir = videos_dir.parent if res != "full" else videos_dir
videos_json_path = main_videos_dir / "videos.json"
if True: # Always update JSON regardless of proxy mode
existing_videos: dict = {}