mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-27 10:38:21 +03:00
tweaks
This commit is contained in:
parent
74115a37a0
commit
e9108dc471
@ -425,7 +425,7 @@ class CameraAudioTranscriptionConfig(FrigateBaseModel):
|
|||||||
enabled: bool = Field(
|
enabled: bool = Field(
|
||||||
default=False,
|
default=False,
|
||||||
title="Enable transcription",
|
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(
|
enabled_in_config: Optional[bool] = Field(
|
||||||
default=None, title="Original transcription state"
|
default=None, title="Original transcription state"
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
"description": "Settings for live and speech audio transcription used for events and live captions.",
|
"description": "Settings for live and speech audio transcription used for events and live captions.",
|
||||||
"enabled": {
|
"enabled": {
|
||||||
"label": "Enable transcription",
|
"label": "Enable transcription",
|
||||||
"description": "Enable or disable automatic audio transcription."
|
"description": "Enable or disable manually triggered audio event transcription."
|
||||||
},
|
},
|
||||||
"enabled_in_config": {
|
"enabled_in_config": {
|
||||||
"label": "Original transcription state"
|
"label": "Original transcription state"
|
||||||
|
|||||||
@ -4,13 +4,13 @@ const audioTranscription: SectionConfigOverrides = {
|
|||||||
base: {
|
base: {
|
||||||
sectionDocs: "/configuration/audio_detectors#audio-transcription",
|
sectionDocs: "/configuration/audio_detectors#audio-transcription",
|
||||||
restartRequired: [],
|
restartRequired: [],
|
||||||
fieldOrder: ["enabled", "language", "device", "model_size", "live_enabled"],
|
fieldOrder: ["enabled", "language", "device", "model_size"],
|
||||||
hiddenFields: ["enabled_in_config"],
|
hiddenFields: ["enabled_in_config", "live_enabled"],
|
||||||
advancedFields: ["language", "device", "model_size"],
|
advancedFields: ["language", "device", "model_size"],
|
||||||
overrideFields: ["enabled", "live_enabled"],
|
overrideFields: ["enabled", "live_enabled"],
|
||||||
},
|
},
|
||||||
global: {
|
global: {
|
||||||
fieldOrder: ["enabled", "language", "device", "model_size", "live_enabled"],
|
fieldOrder: ["enabled", "language", "device", "model_size"],
|
||||||
advancedFields: ["language", "device", "model_size"],
|
advancedFields: ["language", "device", "model_size"],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,7 +3,6 @@ import type { SectionConfigOverrides } from "./types";
|
|||||||
const review: SectionConfigOverrides = {
|
const review: SectionConfigOverrides = {
|
||||||
base: {
|
base: {
|
||||||
sectionDocs: "/configuration/review",
|
sectionDocs: "/configuration/review",
|
||||||
restartRequired: [],
|
|
||||||
fieldOrder: ["alerts", "detections", "genai"],
|
fieldOrder: ["alerts", "detections", "genai"],
|
||||||
fieldGroups: {},
|
fieldGroups: {},
|
||||||
hiddenFields: [
|
hiddenFields: [
|
||||||
|
|||||||
@ -263,11 +263,11 @@ const settingsGroups = [
|
|||||||
label: "globalConfig",
|
label: "globalConfig",
|
||||||
items: [
|
items: [
|
||||||
{ key: "globalDetect", component: GlobalDetectSettingsPage },
|
{ key: "globalDetect", component: GlobalDetectSettingsPage },
|
||||||
|
{ key: "globalObjects", component: GlobalObjectsSettingsPage },
|
||||||
|
{ key: "globalMotion", component: GlobalMotionSettingsPage },
|
||||||
|
{ key: "globalFfmpeg", component: GlobalFfmpegSettingsPage },
|
||||||
{ key: "globalRecording", component: GlobalRecordingSettingsPage },
|
{ key: "globalRecording", component: GlobalRecordingSettingsPage },
|
||||||
{ key: "globalSnapshots", component: GlobalSnapshotsSettingsPage },
|
{ key: "globalSnapshots", component: GlobalSnapshotsSettingsPage },
|
||||||
{ key: "globalFfmpeg", component: GlobalFfmpegSettingsPage },
|
|
||||||
{ key: "globalMotion", component: GlobalMotionSettingsPage },
|
|
||||||
{ key: "globalObjects", component: GlobalObjectsSettingsPage },
|
|
||||||
{ key: "globalReview", component: GlobalReviewSettingsPage },
|
{ key: "globalReview", component: GlobalReviewSettingsPage },
|
||||||
{ key: "globalAudioEvents", component: GlobalAudioEventsSettingsPage },
|
{ key: "globalAudioEvents", component: GlobalAudioEventsSettingsPage },
|
||||||
{
|
{
|
||||||
@ -283,42 +283,42 @@ const settingsGroups = [
|
|||||||
{
|
{
|
||||||
label: "cameras",
|
label: "cameras",
|
||||||
items: [
|
items: [
|
||||||
|
{ key: "cameraManagement", component: CameraManagementView },
|
||||||
{ key: "cameraDetect", component: CameraDetectSettingsPage },
|
{ key: "cameraDetect", component: CameraDetectSettingsPage },
|
||||||
|
{ key: "cameraObjects", component: CameraObjectsSettingsPage },
|
||||||
|
{ key: "cameraMotion", component: CameraMotionSettingsPage },
|
||||||
|
{ key: "motionTuner", component: MotionTunerView },
|
||||||
{ key: "cameraFfmpeg", component: CameraFfmpegSettingsPage },
|
{ key: "cameraFfmpeg", component: CameraFfmpegSettingsPage },
|
||||||
{ key: "cameraRecording", component: CameraRecordingSettingsPage },
|
{ key: "cameraRecording", component: CameraRecordingSettingsPage },
|
||||||
{ key: "cameraSnapshots", component: CameraSnapshotsSettingsPage },
|
{ key: "cameraSnapshots", component: CameraSnapshotsSettingsPage },
|
||||||
{ key: "cameraMotion", component: CameraMotionSettingsPage },
|
{ key: "masksAndZones", component: MasksAndZonesView },
|
||||||
{ key: "cameraObjects", component: CameraObjectsSettingsPage },
|
|
||||||
{ key: "cameraReview", component: CameraReviewSettingsPage },
|
{ key: "cameraReview", component: CameraReviewSettingsPage },
|
||||||
{ key: "cameraAudioEvents", component: CameraAudioEventsSettingsPage },
|
{ key: "cameraAudioEvents", component: CameraAudioEventsSettingsPage },
|
||||||
{
|
{
|
||||||
key: "cameraAudioTranscription",
|
key: "cameraAudioTranscription",
|
||||||
component: CameraAudioTranscriptionSettingsPage,
|
component: CameraAudioTranscriptionSettingsPage,
|
||||||
},
|
},
|
||||||
|
{ key: "cameraBirdseye", component: CameraBirdseyeSettingsPage },
|
||||||
|
{
|
||||||
|
key: "cameraLivePlayback",
|
||||||
|
component: CameraLivePlaybackSettingsPage,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "cameraNotifications",
|
key: "cameraNotifications",
|
||||||
component: CameraNotificationsSettingsPage,
|
component: CameraNotificationsSettingsPage,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: "cameraLivePlayback",
|
|
||||||
component: CameraLivePlaybackSettingsPage,
|
|
||||||
},
|
|
||||||
{ key: "cameraBirdseye", component: CameraBirdseyeSettingsPage },
|
|
||||||
{
|
{
|
||||||
key: "cameraFaceRecognition",
|
key: "cameraFaceRecognition",
|
||||||
component: CameraFaceRecognitionSettingsPage,
|
component: CameraFaceRecognitionSettingsPage,
|
||||||
},
|
},
|
||||||
{ key: "cameraLpr", component: CameraLprSettingsPage },
|
{ key: "cameraLpr", component: CameraLprSettingsPage },
|
||||||
{ key: "cameraMqttConfig", component: CameraMqttConfigSettingsPage },
|
|
||||||
{ key: "cameraOnvif", component: CameraOnvifSettingsPage },
|
{ key: "cameraOnvif", component: CameraOnvifSettingsPage },
|
||||||
|
{ key: "cameraMqttConfig", component: CameraMqttConfigSettingsPage },
|
||||||
{ key: "cameraUi", component: CameraUiSettingsPage },
|
{ key: "cameraUi", component: CameraUiSettingsPage },
|
||||||
{
|
{
|
||||||
key: "cameraTimestampStyle",
|
key: "cameraTimestampStyle",
|
||||||
component: CameraTimestampStyleSettingsPage,
|
component: CameraTimestampStyleSettingsPage,
|
||||||
},
|
},
|
||||||
{ key: "cameraManagement", component: CameraManagementView },
|
|
||||||
{ key: "masksAndZones", component: MasksAndZonesView },
|
|
||||||
{ key: "motionTuner", component: MotionTunerView },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user