From d2c701bf2b0a4ef48d15851e95dd2bfa2532f911 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 16 Oct 2023 08:02:14 -0600 Subject: [PATCH] Delete timeline items along with event --- frigate/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/http.py b/frigate/http.py index 695ba8473..48e9661b4 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -516,6 +516,7 @@ def delete_event(id): media.unlink(missing_ok=True) event.delete_instance() + Timeline.delete().where(Timeline.source_id == id).execute() return make_response( jsonify({"success": True, "message": "Event " + id + " deleted"}), 200 )