mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-18 12:42:48 +03:00
Backend and webui fixes (#11309)
* Ensure that items without end times are set to not have a snapshot * Save full frame if no frame is currently saved * Webui fixes * Cleanup
This commit is contained in:
+3
-3
@@ -683,9 +683,9 @@ class FrigateApp:
|
||||
self.stop_event.set()
|
||||
|
||||
# set an end_time on entries without an end_time before exiting
|
||||
Event.update(end_time=datetime.datetime.now().timestamp()).where(
|
||||
Event.end_time == None
|
||||
).execute()
|
||||
Event.update(
|
||||
end_time=datetime.datetime.now().timestamp(), has_snapshot=False
|
||||
).where(Event.end_time == None).execute()
|
||||
ReviewSegment.update(end_time=datetime.datetime.now().timestamp()).where(
|
||||
ReviewSegment.end_time == None
|
||||
).execute()
|
||||
|
||||
Reference in New Issue
Block a user