Bugfixes
This commit is contained in:
+4
-3
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user