mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix perview serialization (#12597)
This commit is contained in:
parent
5c15659a34
commit
b4db07d7a5
@ -129,12 +129,12 @@ class FFMpegConverter(threading.Thread):
|
|||||||
self.requestor.send_data(
|
self.requestor.send_data(
|
||||||
INSERT_PREVIEW,
|
INSERT_PREVIEW,
|
||||||
{
|
{
|
||||||
Previews.id: f"{self.config.name}_{end}",
|
Previews.id.name: f"{self.config.name}_{end}",
|
||||||
Previews.camera: self.config.name,
|
Previews.camera.name: self.config.name,
|
||||||
Previews.path: self.path,
|
Previews.path.name: self.path,
|
||||||
Previews.start_time: start,
|
Previews.start_time.name: start,
|
||||||
Previews.end_time: end,
|
Previews.end_time.name: end,
|
||||||
Previews.duration: end - start,
|
Previews.duration.name: end - start,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user