Directory Cleanup Fix

A follow-up fix was merged to properly handle parent directory removal in the cleanup process, addressing an oversight from a previous change that only cleaned up leaf directories.

Duration: PT1M7S

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-20T11:23:47Z
  • Audio duration: PT1M7S

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 your Frigate NVR Updates for Monday, January 20th, 2026.

johnshaw merged "Remove parents in remove_empty_directories," a critical follow-up to address an incomplete implementation from pull request 21695. The original change only removed empty leaf directories but failed to clean up parent directories as intended. This update implements a level-order traversal from the…

The changes span two files - the cleanup module and media utilities - with 26 lines added and 12 removed across the codebase. This represents a targeted fix to restore the full functionality of the directory cleanup system while adding protective measures.

What's next: Monitor for any additional edge cases in the directory cleanup process, and watch for related cleanup optimizations as the recording management system continues to evolve.

That's your update for today - we'll be back tomorrow with more Frigate development news.

Nearby episodes from Frigate NVR Updates

  1. Beta Bug Fixes and GenAI Schema Updates
  2. Offline Camera Handling and ROCm GPU Updates
  3. Gemini Integration and Classification Fixes
  4. LLM Chat API and Beta Fixes
  5. Recording Cleanup Performance Improvement
  6. Recording Crash Fix
  7. Week of January 06 - January 13, 2026
  8. January 12, 2026