mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Ensure only enabled birdseye cameras are considered active (#13194)
* Ensure only enabled birdseye cameras are considered active * Cleanup
This commit is contained in:
parent
1da934e63c
commit
d96f76c27f
@ -395,7 +395,8 @@ class BirdsEyeFrameManager:
|
|||||||
[
|
[
|
||||||
cam
|
cam
|
||||||
for cam, cam_data in self.cameras.items()
|
for cam, cam_data in self.cameras.items()
|
||||||
if cam_data["last_active_frame"] > 0
|
if self.config.cameras[cam].birdseye.enabled
|
||||||
|
and cam_data["last_active_frame"] > 0
|
||||||
and cam_data["current_frame"] - cam_data["last_active_frame"]
|
and cam_data["current_frame"] - cam_data["last_active_frame"]
|
||||||
< self.inactivity_threshold
|
< self.inactivity_threshold
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user