mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 18:25:22 +03:00
Formatting
This commit is contained in:
parent
922d327ebf
commit
f2d8298337
@ -291,7 +291,9 @@ class FrigateApp:
|
||||
logger.info(f"Capture process started for {name}: {capture_process.pid}")
|
||||
|
||||
def start_timeline_processor(self) -> None:
|
||||
self.timeline_processor = TimelineProcessor(self.timeline_queue, self.stop_event)
|
||||
self.timeline_processor = TimelineProcessor(
|
||||
self.timeline_queue, self.stop_event
|
||||
)
|
||||
self.timeline_processor.start()
|
||||
|
||||
def start_event_processor(self) -> None:
|
||||
|
||||
@ -32,13 +32,13 @@ class Event(Model): # type: ignore[misc]
|
||||
plus_id = CharField(max_length=30)
|
||||
|
||||
|
||||
class Timeline(Model): # type: ignore[misc]
|
||||
class Timeline(Model): # type: ignore[misc]
|
||||
timestamp = DateTimeField()
|
||||
camera = CharField(index=True, max_length=20)
|
||||
source = CharField(index=True, max_length=20) # ex: tracked object, audio, external
|
||||
source = CharField(index=True, max_length=20) # ex: tracked object, audio, external
|
||||
source_id = CharField(index=True, max_length=30)
|
||||
class_type = CharField(max_length=50) # ex: entered_zone, audio_heard
|
||||
data = JSONField() # ex: tracked object id, region, box, etc.
|
||||
class_type = CharField(max_length=50) # ex: entered_zone, audio_heard
|
||||
data = JSONField() # ex: tracked object id, region, box, etc.
|
||||
|
||||
|
||||
class Recordings(Model): # type: ignore[misc]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user