frigate/frigate
Kirill Kulakov cfeb86646f
Some checks failed
CI / AMD64 Build (push) Has been cancelled
CI / ARM Build (push) Has been cancelled
CI / Jetson Jetpack 6 (push) Has been cancelled
CI / AMD64 Extra Build (push) Has been cancelled
CI / ARM Extra Build (push) Has been cancelled
CI / Synaptics Build (push) Has been cancelled
CI / Assemble and push default build (push) Has been cancelled
fix(recording): handle unexpected filenames in cache maintainer to prevent crash (#21676)
* fix(recording): handle unexpected filenames in cache maintainer to prevent crash

* test(recording): add test for maintainer cache file parsing

* Prevent log spam from unexpected cache files

Addresses PR review feedback: Add deduplication to prevent warning
messages from being logged repeatedly for the same unexpected file
in the cache directory. Each unexpected filename is only logged once
per RecordingMaintainer instance lifecycle.

Also adds test to verify warning is only emitted once per filename.

* Fix code formatting for test_maintainer.py

* fixes + ruff
2026-01-16 19:23:23 -07:00
..
api Miscellaneous fixes (0.17 beta) (#21655) 2026-01-15 07:08:49 -07:00
camera Miscellaneous Fixes (#20897) 2025-11-17 08:12:05 -06:00
comms Miscellaneous fixes (0.17 beta) (#21431) 2025-12-26 08:45:03 -06:00
config Miscellaneous fixes (0.17 beta) (#21607) 2026-01-12 20:36:38 -07:00
data_processing Miscellaneous fixes (0.17 beta) (#21431) 2025-12-26 08:45:03 -06:00
db Improve LPR regex support (#19767) 2025-08-26 08:11:37 -05:00
detectors Miscellaneous fixes (0.17 beta) (#21431) 2025-12-26 08:45:03 -06:00
embeddings Miscellaneous fixes (0.17 beta) (#21655) 2026-01-15 07:08:49 -07:00
events Miscellaneous Fixes (0.17 beta) (#21355) 2025-12-19 18:59:26 -06:00
genai Miscellaneous fixes (0.17 beta) (#21655) 2026-01-15 07:08:49 -07:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
object_detection [MemryX] Clean shutdown of detector process (#21035) 2025-11-25 10:25:07 -07:00
output Miscellaneous fixes (0.17 beta) (#21431) 2025-12-26 08:45:03 -06:00
ptz Miscellaneous Fixes (#21193) 2025-12-09 12:08:44 -06:00
record fix(recording): handle unexpected filenames in cache maintainer to prevent crash (#21676) 2026-01-16 19:23:23 -07:00
review Miscellaneous Fixes (#20850) 2025-11-09 08:38:38 -06:00
service_manager Add metrics page for embeddings and face / license plate processing times (#15818) 2025-02-08 12:47:01 -06:00
stats Miscellaneous Fixes (0.17 beta) (#21396) 2025-12-24 08:03:09 -06:00
test fix(recording): handle unexpected filenames in cache maintainer to prevent crash (#21676) 2026-01-16 19:23:23 -07:00
track Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
util Miscellaneous fixes (0.17 beta) (#21655) 2026-01-15 07:08:49 -07:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Handle SIGINT with forkserver (#18860) 2025-08-16 10:20:33 -05:00
app.py Miscellaneous fixes (#21373) 2025-12-20 18:30:34 -06:00
const.py Miscellaneous fixes (0.17 beta) (#21350) 2025-12-18 15:12:10 -07:00
ffmpeg_presets.py Miscellaneous Fixes (0.17 beta) (#21301) 2025-12-16 08:11:53 -06:00
log.py Miscellaneous fixes (0.17 beta) (#21655) 2026-01-15 07:08:49 -07:00
models.py Authentication improvements (#21194) 2025-12-08 09:02:28 -07:00
mypy.ini Enable mypy for track and fix typing errors (#19529) 2025-08-17 12:27:42 -05:00
plus.py Add ability to update Frigate+ model to latest from UI (#17324) 2025-03-24 09:19:58 -06:00
storage.py Miscellaneous Fixes (#21102) 2025-12-02 07:21:15 -07:00
timeline.py Miscellaneous Fixes (0.17 beta) (#21355) 2025-12-19 18:59:26 -06:00
types.py Miscellaneous Fixes (#21005) 2025-11-23 08:40:25 -07:00
video.py Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
watchdog.py Improve async object detector support (#17712) 2025-04-15 08:55:38 -05:00