mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Fix perview serialization
This commit is contained in:
parent
1bd3285679
commit
c232e72379
@ -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