From e9108dc471a1b3eb91240ff1340bd578393dd4aa Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 3 Feb 2026 10:15:33 -0600 Subject: [PATCH] tweaks --- frigate/config/classification.py | 2 +- web/public/locales/en/config/cameras.json | 2 +- .../section-configs/audio_transcription.ts | 6 ++-- .../config-form/section-configs/review.ts | 1 - web/src/pages/Settings.tsx | 28 +++++++++---------- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/frigate/config/classification.py b/frigate/config/classification.py index e5ea9240a..a1e7b89a5 100644 --- a/frigate/config/classification.py +++ b/frigate/config/classification.py @@ -425,7 +425,7 @@ class CameraAudioTranscriptionConfig(FrigateBaseModel): enabled: bool = Field( default=False, title="Enable transcription", - description="Enable or disable automatic audio transcription.", + description="Enable or disable manually triggered audio event transcription.", ) enabled_in_config: Optional[bool] = Field( default=None, title="Original transcription state" diff --git a/web/public/locales/en/config/cameras.json b/web/public/locales/en/config/cameras.json index 30a20013c..a3ff33cd6 100644 --- a/web/public/locales/en/config/cameras.json +++ b/web/public/locales/en/config/cameras.json @@ -49,7 +49,7 @@ "description": "Settings for live and speech audio transcription used for events and live captions.", "enabled": { "label": "Enable transcription", - "description": "Enable or disable automatic audio transcription." + "description": "Enable or disable manually triggered audio event transcription." }, "enabled_in_config": { "label": "Original transcription state" diff --git a/web/src/components/config-form/section-configs/audio_transcription.ts b/web/src/components/config-form/section-configs/audio_transcription.ts index 3cc41dff1..b7f6dc0cb 100644 --- a/web/src/components/config-form/section-configs/audio_transcription.ts +++ b/web/src/components/config-form/section-configs/audio_transcription.ts @@ -4,13 +4,13 @@ const audioTranscription: SectionConfigOverrides = { base: { sectionDocs: "/configuration/audio_detectors#audio-transcription", restartRequired: [], - fieldOrder: ["enabled", "language", "device", "model_size", "live_enabled"], - hiddenFields: ["enabled_in_config"], + fieldOrder: ["enabled", "language", "device", "model_size"], + hiddenFields: ["enabled_in_config", "live_enabled"], advancedFields: ["language", "device", "model_size"], overrideFields: ["enabled", "live_enabled"], }, global: { - fieldOrder: ["enabled", "language", "device", "model_size", "live_enabled"], + fieldOrder: ["enabled", "language", "device", "model_size"], advancedFields: ["language", "device", "model_size"], }, }; diff --git a/web/src/components/config-form/section-configs/review.ts b/web/src/components/config-form/section-configs/review.ts index e1150682f..ddea33f9d 100644 --- a/web/src/components/config-form/section-configs/review.ts +++ b/web/src/components/config-form/section-configs/review.ts @@ -3,7 +3,6 @@ import type { SectionConfigOverrides } from "./types"; const review: SectionConfigOverrides = { base: { sectionDocs: "/configuration/review", - restartRequired: [], fieldOrder: ["alerts", "detections", "genai"], fieldGroups: {}, hiddenFields: [ diff --git a/web/src/pages/Settings.tsx b/web/src/pages/Settings.tsx index 31dbdde47..ba8693e9f 100644 --- a/web/src/pages/Settings.tsx +++ b/web/src/pages/Settings.tsx @@ -263,11 +263,11 @@ const settingsGroups = [ label: "globalConfig", items: [ { key: "globalDetect", component: GlobalDetectSettingsPage }, + { key: "globalObjects", component: GlobalObjectsSettingsPage }, + { key: "globalMotion", component: GlobalMotionSettingsPage }, + { key: "globalFfmpeg", component: GlobalFfmpegSettingsPage }, { key: "globalRecording", component: GlobalRecordingSettingsPage }, { key: "globalSnapshots", component: GlobalSnapshotsSettingsPage }, - { key: "globalFfmpeg", component: GlobalFfmpegSettingsPage }, - { key: "globalMotion", component: GlobalMotionSettingsPage }, - { key: "globalObjects", component: GlobalObjectsSettingsPage }, { key: "globalReview", component: GlobalReviewSettingsPage }, { key: "globalAudioEvents", component: GlobalAudioEventsSettingsPage }, { @@ -283,42 +283,42 @@ const settingsGroups = [ { label: "cameras", items: [ + { key: "cameraManagement", component: CameraManagementView }, { key: "cameraDetect", component: CameraDetectSettingsPage }, + { key: "cameraObjects", component: CameraObjectsSettingsPage }, + { key: "cameraMotion", component: CameraMotionSettingsPage }, + { key: "motionTuner", component: MotionTunerView }, { key: "cameraFfmpeg", component: CameraFfmpegSettingsPage }, { key: "cameraRecording", component: CameraRecordingSettingsPage }, { key: "cameraSnapshots", component: CameraSnapshotsSettingsPage }, - { key: "cameraMotion", component: CameraMotionSettingsPage }, - { key: "cameraObjects", component: CameraObjectsSettingsPage }, + { key: "masksAndZones", component: MasksAndZonesView }, { key: "cameraReview", component: CameraReviewSettingsPage }, { key: "cameraAudioEvents", component: CameraAudioEventsSettingsPage }, { key: "cameraAudioTranscription", component: CameraAudioTranscriptionSettingsPage, }, + { key: "cameraBirdseye", component: CameraBirdseyeSettingsPage }, + { + key: "cameraLivePlayback", + component: CameraLivePlaybackSettingsPage, + }, { key: "cameraNotifications", component: CameraNotificationsSettingsPage, }, - { - key: "cameraLivePlayback", - component: CameraLivePlaybackSettingsPage, - }, - { key: "cameraBirdseye", component: CameraBirdseyeSettingsPage }, { key: "cameraFaceRecognition", component: CameraFaceRecognitionSettingsPage, }, { key: "cameraLpr", component: CameraLprSettingsPage }, - { key: "cameraMqttConfig", component: CameraMqttConfigSettingsPage }, { key: "cameraOnvif", component: CameraOnvifSettingsPage }, + { key: "cameraMqttConfig", component: CameraMqttConfigSettingsPage }, { key: "cameraUi", component: CameraUiSettingsPage }, { key: "cameraTimestampStyle", component: CameraTimestampStyleSettingsPage, }, - { key: "cameraManagement", component: CameraManagementView }, - { key: "masksAndZones", component: MasksAndZonesView }, - { key: "motionTuner", component: MotionTunerView }, ], }, {