mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-15 09:36:42 +03:00
fix incorrect event_type for api and audio timeline entries
This commit is contained in:
parent
123b2705b5
commit
cf1542537f
@ -156,7 +156,7 @@ class TimelineProcessor(threading.Thread):
|
|||||||
event_type: str,
|
event_type: str,
|
||||||
event_data: dict[Any, Any],
|
event_data: dict[Any, Any],
|
||||||
) -> bool:
|
) -> bool:
|
||||||
if event_type != "new":
|
if event_type != "start":
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if event_data.get("type", "api") == "audio":
|
if event_data.get("type", "api") == "audio":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user