From 27f01d1dcac143623fbacbf175a9b57d3ab2a87f Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 1 May 2023 07:29:12 -0600 Subject: [PATCH 01/27] Move to events package --- docs/docs/integrations/api.md | 9 + frigate/app.py | 3 +- frigate/events/cleanup.py | 175 ++++++++++++++++++++ frigate/{events.py => events/maintainer.py} | 159 ------------------ frigate/events_manual.py | 144 ++++++++++++++++ frigate/http.py | 69 ++++++-- frigate/object_processing.py | 2 +- frigate/timeline.py | 2 +- 8 files changed, 383 insertions(+), 180 deletions(-) create mode 100644 frigate/events/cleanup.py rename frigate/{events.py => events/maintainer.py} (51%) create mode 100644 frigate/events_manual.py diff --git a/docs/docs/integrations/api.md b/docs/docs/integrations/api.md index b5b80f3ea1..434980b243 100644 --- a/docs/docs/integrations/api.md +++ b/docs/docs/integrations/api.md @@ -295,3 +295,12 @@ Get ffprobe output for camera feed paths. ### `GET /api//ptz/info` Get PTZ info for the camera. + +### `POST /api/events/manual//