004 Multi-library Support #54
Reference in New Issue
Block a user
Delete Branch "004-multi-library"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allow for mounting multiple libraries at different base paths.
PreviewClipGenerator stripped a single base_path, so videos in a non-primary library ended up with the absolute path as 'relative'. On Windows, PathBuf::from(preview_clips_dir).join(absolute) replaces with the absolute path, and .with_extension("mp4") on a .mp4 input yields the input path — ffmpeg then errors out with 'cannot edit existing files in place'. The generator now holds Vec<Library> and strips whichever root actually contains the video, with separator normalization to match the rest of the code. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>c78502dd64tobffe604527