Files
frigate/frigate
e3fa701893
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
Recreate preview output directory before writing (fix 0.18 regression: silent permanent preview loss) (#23784)
* Recreate preview output directory before writing it

The preview directory is created once in PreviewRecorder.__init__, but
record cleanup's remove_empty_directories() can delete it again while it
is empty (e.g. a camera re-added after removal, or an hour with no
retained previews). FFMpegConverter then fails permanently with
"No such file or directory" and previews are silently lost with only
one ERROR log line per hour. Recreate the directory before invoking
ffmpeg so the hourly export self-heals.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Remove explanatory comments above the fix

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 06:12:18 -05:00
..
2026-07-22 11:13:58 -05:00
2026-07-22 11:13:58 -05:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-07-22 11:13:58 -05:00
2026-07-06 12:28:02 -05:00
2021-01-26 21:40:33 -06:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-03-26 12:54:12 -06:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00