Add MOVIES_DIR to conf; remove hardcoded 'movies' subdir

All scripts now use $MOVIES_DIR instead of $BASE_DIR/movies.
Defaults to BASE_DIR/movies but can point to a separate drive.

https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
Claude
2026-04-19 16:01:27 +00:00
parent 46b3a36d0a
commit fffb19fd38
7 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ base_dir="$BASE_DIR"
# ── Date / paths ──────────────────────────────────────────────────────────────
yesterday=$(date --date="yesterday" +%Y-%m-%d)
image_dir="$base_dir/$CAM_NAME/$yesterday"
output_dir="$base_dir/movies/$CAM_NAME/fullday"
output_dir="$MOVIES_DIR/$CAM_NAME/fullday"
mkdir -p "$output_dir"
# ── Purge old full-day videos ─────────────────────────────────────────────────