Add Demoio directory for test videos with 8-day retention; capture gap warning
daily_sunrise_video.sh:
- Test output now saves to DEMO_DIR/<cam>/ (default: MOVIES_DIR/demoio/<cam>/)
instead of the production sunrise-only directory
- After each test run, deletes test files older than DEMO_RETENTION_DAYS (8)
- Production mode: warns if the last selected frame is >3 intervals before
the window end, which indicates the capture service had a gap near sunrise:
WARNING: last frame is 20min 0s before window end — capture gap near sunrise
Check: systemctl --user status sky-cam-capture-east.service
sky-cam.conf: add DEMO_DIR and DEMO_RETENTION_DAYS settings
https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
@@ -228,6 +228,10 @@ SUNRISE_RETENTION_DAYS=10
|
||||
# Delete unpinned sunrise posts from Mattermost older than this many days.
|
||||
# Pinned posts are always kept regardless. Set 0 to disable Mattermost cleanup.
|
||||
MM_SUNRISE_RETENTION_DAYS=8
|
||||
# Output directory for --test runs. Kept separate from production sunrise videos.
|
||||
# Test files older than DEMO_RETENTION_DAYS are deleted automatically.
|
||||
DEMO_DIR="${DEMO_DIR:-$MOVIES_DIR/demoio}"
|
||||
DEMO_RETENTION_DAYS=8
|
||||
|
||||
# ── Video encoding quality ────────────────────────────────────────────────────
|
||||
# FFmpeg CRF: lower = higher quality / larger files. Typical range 18–30.
|
||||
|
||||
Reference in New Issue
Block a user