NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Accept floats for export when used directly with event start / end time (#7314)
Nicolas Mowen947ccbc65459
diff --git a/frigate/http.py b/frigate/http.pyindex 9f3fdaafe5..6cf552c9fe 100644--- a/frigate/http.py+++ b/frigate/http.py@@ -1603,8 +1603,14 @@ def vod_event(id):)[email protected]("/export/<camera_name>/start/<start_time>/end/<end_time>", methods=["POST"])-def export_recording(camera_name: str, start_time: int, end_time: int):+ "/export/<camera_name>/start/<int:start_time>/end/<int:end_time>", methods=["POST"]+)+ "/export/<camera_name>/start/<float:start_time>/end/<float:end_time>",+ methods=["POST"],+)+def export_recording(camera_name: str, start_time, end_time):playback_factor = request.get_json(silent=True).get("playback", "realtime")exporter = RecordingExporter(current_app.frigate_config,