NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Bug Fixes (#14193)
Nicolas Mowen74047453ef08
diff --git a/frigate/app.py b/frigate/app.pyindex 1d1ee10f37..992452d601 100644--- a/frigate/app.py+++ b/frigate/app.py@@ -533,6 +533,7 @@ class FrigateApp:{User.username: "admin",User.password_hash: password_hash,+ User.notification_tokens: [],}).execute()@@ -549,7 +550,11 @@ class FrigateApp:password_hash = hash_password(password, iterations=self.config.auth.hash_iterations)- User.replace(username="admin", password_hash=password_hash).execute()+ User.replace(+ username="admin",+ password_hash=password_hash,+ notification_tokens=[],+ ).execute()logger.info("********************************************************")logger.info("********************************************************")diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.pyindex 875357de55..1a3d4408f9 100644--- a/frigate/ffmpeg_presets.py+++ b/frigate/ffmpeg_presets.py@@ -31,6 +31,9 @@ class LibvaGpuSelector:devices = list(filter(lambda d: d.startswith("render"), os.listdir("/dev/dri")))+ if not devices:+ return "/dev/dri/renderD128"+if len(devices) < 2:self._selected_gpu = f"/dev/dri/{devices[0]}"return self._selected_gpudiff --git a/web/src/components/mobile/MobilePage.tsx b/web/src/components/mobile/MobilePage.tsxindex dfd221ea2c..cd1b274935 100644--- a/web/src/components/mobile/MobilePage.tsx+++ b/web/src/components/mobile/MobilePage.tsx@@ -91,7 +91,7 @@ export function MobilePageHeader({return (<divclassName={cn(- "sticky top-0 z-50 mb-2 flex items-center justify-center bg-background p-4",+ "sticky -top-2 z-50 mb-2 flex items-center justify-center bg-background p-4",className,)}{...props}