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:
+1
-1
@@ -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 ─────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user