mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Update frigate/http.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
parent
b838f389f6
commit
a4bff70507
@ -835,7 +835,7 @@ def label_thumbnail(camera_name, label):
|
||||
return response
|
||||
|
||||
@bp.route("/<camera_name>/<label>/last_clip.mp4")
|
||||
def label_last_clip(camera_name, label):
|
||||
def label_clip(camera_name, label):
|
||||
label = unquote(label)
|
||||
event_query = Event.select(fn.MAX(Event.id)).where(Event.camera == camera_name, Event.has_clip == True)
|
||||
if label != "any":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user