frigate/frigate
nulledy bb6e889449 Allow API Events to be Detections or Alerts, depending on the Event Label (#21923)
* - API created events will be alerts OR detections, depending on the event label, defaulting to alerts
- Indefinite API events will extend the recording segment until those events are ended
- API event start time is the actual start time, instead of having a pre-buffer of record.event_pre_capture

* Instead of checking for indefinite events on a camera before deciding if we should end the segment, only update last_detection_time and last_alert_time if frame_time is greater, which should have the same effect

* Add the ability to set a pre_capture number of seconds when creating a manual event via the API. Default behavior unchanged

* Remove unnecessary _publish_segment_start() call

* Formatting

* handle last_alert_time or last_detection_time being None when checking them against the frame_time

* comment manual_info["label"].split(": ")[0] for clarity
2026-02-26 21:27:56 -07:00
..
api Allow API Events to be Detections or Alerts, depending on the Event Label (#21923) 2026-02-26 21:27:56 -07:00
camera Camera connection quality indicator (#21297) 2026-02-26 21:27:56 -07:00
comms Media sync API refactor and UI (#21542) 2026-02-26 21:27:56 -07:00
config Add networking options for configuring listening ports (#21779) 2026-02-26 21:27:56 -07:00
data_processing fix: fix object classification model not reload (#21982) 2026-02-12 08:56:52 -07:00
db Improve LPR regex support (#19767) 2025-08-26 08:11:37 -05:00
detectors Update to ROCm 7.2.0 (#21753) 2026-02-26 21:27:56 -07:00
embeddings Miscellaneous fixes (0.17 beta) (#21867) 2026-02-03 08:31:00 -06:00
events Fix saving attributes for object to DB (#22000) 2026-02-14 07:40:08 -06:00
genai Add live context tool to LLM (#21754) 2026-02-26 21:27:56 -07:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
jobs Media sync API refactor and UI (#21542) 2026-02-26 21:27:56 -07: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 Offline preview image (#21752) 2026-02-26 21:27:56 -07:00
ptz Miscellaneous Fixes (#21193) 2025-12-09 12:08:44 -06:00
record Add networking options for configuring listening ports (#21779) 2026-02-26 21:27:56 -07:00
review Allow API Events to be Detections or Alerts, depending on the Event Label (#21923) 2026-02-26 21:27:56 -07:00
service_manager Add metrics page for embeddings and face / license plate processing times (#15818) 2025-02-08 12:47:01 -06:00
stats Add support for GPU and NPU temperatures (#21495) 2026-02-26 21:27:56 -07:00
test Offline preview image (#21752) 2026-02-26 21:27:56 -07:00
track Allow API Events to be Detections or Alerts, depending on the Event Label (#21923) 2026-02-26 21:27:56 -07:00
util Remove parents in remove_empty_directories (#21726) 2026-02-26 21:27:56 -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 Add networking options for configuring listening ports (#21779) 2026-02-26 21:27:56 -07:00
ffmpeg_presets.py Miscellaneous Fixes (0.17 beta) (#21301) 2025-12-16 08:11:53 -06:00
log.py Add languages (#21870) 2026-02-03 13:29:52 -06:00
models.py Create scaffolding for case management (#21293) 2026-02-26 21:27:56 -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 Media sync API refactor and UI (#21542) 2026-02-26 21:27:56 -07:00
video.py Camera connection quality indicator (#21297) 2026-02-26 21:27:56 -07:00
watchdog.py Improve async object detector support (#17712) 2025-04-15 08:55:38 -05:00