Frigate NVR Updates: Preview Storage Regression Fix
A single fix addresses a 0.18 regression that permanently breaks preview clip generation once cleanup routines delete an empty preview directory. The same fix was submitted twice, in PRs 23784 and 23783.
Duration: PT1M54S
Episode overview
This episode is a short developer briefing from Frigate NVR Updates.
It explains recent repository work in plain language.
- Show: Frigate NVR Updates
- Published: 2026-07-22T13:17:31Z
- Audio duration: PT1M54S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's July 22nd, 2026, and this is Frigate NVR Updates.
Today's focus is a single but serious reliability bug in preview generation, one that made it into the 0.18 release.
Here's the issue: Frigate creates a preview output folder once, when the preview recorder starts up. But recording cleanup was updated in 0.18 to remove empty preview directories as part of its housekeeping. The problem is nothing recreates that folder afterward. Once cleanup deletes an empty previews directory for…
Contributor teajaysee submitted the fix twice, in PR 23784 and PR 23783, both proposing the same solution: have the FFmpeg converter check for, and recreate, the output directory before writing, rather than assuming it still exists from startup. That closes the gap left by the newer cleanup logic.
The key takeaway here isn't the duplicate submission — it's the pattern it exposes: when two parts of a codebase touch the same resource independently, one creating it once and another deleting it repeatedly, you need something that reconciles state at write time, not just at startup. This is a good reminder for…
What's next: expect one of these two pull requests to be merged as the canonical…