mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 21:45:32 +03:00
Log warning for frigate+ and no clean copy
This commit is contained in:
parent
83a292f31f
commit
4bfc8ecc10
@ -608,6 +608,11 @@ class FrigateConfig(FrigateBaseModel):
|
|||||||
self.model.create_colormap(sorted(self.objects.all_objects))
|
self.model.create_colormap(sorted(self.objects.all_objects))
|
||||||
self.model.check_and_load_plus_model(self.plus_api)
|
self.model.check_and_load_plus_model(self.plus_api)
|
||||||
|
|
||||||
|
if self.plus_api and not self.snapshots.clean_copy:
|
||||||
|
logger.warning(
|
||||||
|
"Frigate+ is configured but clean snapshots are not enabled, submissions to Frigate+ will not be possible./"
|
||||||
|
)
|
||||||
|
|
||||||
for key, detector in self.detectors.items():
|
for key, detector in self.detectors.items():
|
||||||
adapter = TypeAdapter(DetectorConfig)
|
adapter = TypeAdapter(DetectorConfig)
|
||||||
model_dict = (
|
model_dict = (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user