NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Don't overwrite event while cleaning up expired cameras (#8320)
Nicolas Mowencf2b56613f02
diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.pyindex faba739796..98da72f6c4 100644--- a/frigate/events/cleanup.py+++ b/frigate/events/cleanup.py@@ -98,8 +98,8 @@ class EventCleanup(threading.Thread):.iterator())# delete the media from disk- for event in expired_events:- media_name = f"{event.camera}-{event.id}"+ for expired in expired_events:+ media_name = f"{expired.camera}-{expired.id}"media_path = Path(f"{os.path.join(CLIPS_DIR, media_name)}.{file_extension}")