Recording Crash Fix
A critical fix was merged to prevent the recording maintainer from crashing when encountering unexpected filenames in the cache directory. The fix includes robust error handling and comprehensive test coverage.
Duration: PT1M26S
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-01-17T11:17:43Z
- Audio duration: PT1M26S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is Frigate NVR Updates for January 17th, 2026.
Kirill578 merged a critical recording system fix that prevents crashes in the cache maintainer. The recording maintainer scans the temporary cache directory for MP4 files, expecting all files to follow the standard camera-at-timestamp naming convention. When unexpected files like manual ffmpeg test outputs or other…
The fix adds robust filename validation before attempting to parse cache files. Instead of crashing, the system now logs a warning for unexpected filenames and continues processing. To prevent log spam, the solution includes deduplication so each problematic filename is only reported once per maintainer lifecycle.
The pull request includes comprehensive test coverage with 66 lines of new tests in a dedicated test maintainer module. The tests verify both the crash prevention and the warning deduplication functionality. After addressing code review feedback around logging behavior and formatting, the changes were merged with…
What's next: Monitor for any edge cases in production cache handling, and watch for community feedback on the improved error resilience.
That's your Frigate update for today.