Require camera name explicitly across all seasons scripts
No script defaults to SUNRISE_CAM (east) for the seasons pipeline. Every direction is treated equally — camera name is a required arg, not an optional override. - 4-seasons.sh: $1 required, exits with usage if missing - montage-mvt.sh: arg order changed to <cam> [date]; $1 required - year-end-join.sh: $2 (cam) required - verify-mvt.sh: $4 (cam) required - migrate-seasons.sh: example commands updated to new arg order - README.md: montage-mvt.sh examples updated https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
+6
-6
@@ -2,7 +2,7 @@
|
||||
# verify-mvt.sh — review a completed movement montage and manage source JPEGs.
|
||||
#
|
||||
# Usage:
|
||||
# ./verify-mvt.sh <ASTRO_YEAR> <SEASON> <MVT_NUM> [CAM_NAME]
|
||||
# ./verify-mvt.sh <ASTRO_YEAR> <SEASON> <MVT_NUM> <CAM_NAME>
|
||||
#
|
||||
# Shows technical checks on the montage, lets you play it, then:
|
||||
# (p) play — open in ffplay / mpv / vlc (whichever is available)
|
||||
@@ -21,10 +21,10 @@ export TIMEZONE
|
||||
ASTRO_YEAR="${1:-}"
|
||||
SEASON="${2:-}"
|
||||
MVT_NUM="${3:-}"
|
||||
CAM_NAME="${4:-$SUNRISE_CAM}"
|
||||
CAM_NAME="${4:-}"
|
||||
|
||||
if [ -z "$ASTRO_YEAR" ] || [ -z "$SEASON" ] || [ -z "$MVT_NUM" ]; then
|
||||
echo "Usage: $0 <ASTRO_YEAR> <SEASON> <MVT_NUM> [CAM_NAME]"
|
||||
if [ -z "$ASTRO_YEAR" ] || [ -z "$SEASON" ] || [ -z "$MVT_NUM" ] || [ -z "$CAM_NAME" ]; then
|
||||
echo "Usage: $0 <ASTRO_YEAR> <SEASON> <MVT_NUM> <CAM_NAME>"
|
||||
echo " e.g. $0 2025 Spring 1 east"
|
||||
exit 1
|
||||
fi
|
||||
@@ -174,7 +174,7 @@ while true; do
|
||||
|
||||
r)
|
||||
echo " Re-running music+overlay step..."
|
||||
"$SCRIPT_DIR/montage-mvt.sh" "$mvt_start_date" "$CAM_NAME"
|
||||
"$SCRIPT_DIR/montage-mvt.sh" "$CAM_NAME" "$mvt_start_date"
|
||||
break
|
||||
;;
|
||||
|
||||
@@ -183,7 +183,7 @@ while true; do
|
||||
# Remove sped file so montage-mvt.sh starts from scratch
|
||||
find "$MOVIES_DIR/$CAM_NAME/$ASTRO_YEAR/$SEASON/Mvt${MVT_NUM}" \
|
||||
-maxdepth 1 -name "*-Sped.mp4" -delete 2>/dev/null || true
|
||||
"$SCRIPT_DIR/montage-mvt.sh" "$mvt_start_date" "$CAM_NAME"
|
||||
"$SCRIPT_DIR/montage-mvt.sh" "$CAM_NAME" "$mvt_start_date"
|
||||
break
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user