forked from Github/frigate
Camera groups (#10223)
* Add camera group config * Add saving of camera group selection * Implement camera groups in config and live view * Fix warnings * Add tooltips to camera group items on desktop * Add camera groups to the filters for events * Fix tooltips and group selection * Cleanup
This commit is contained in:
@@ -204,6 +204,12 @@ export interface CameraConfig {
|
||||
};
|
||||
}
|
||||
|
||||
export type CameraGroupConfig = {
|
||||
cameras: string[];
|
||||
icon: string;
|
||||
order: number;
|
||||
};
|
||||
|
||||
export interface FrigateConfig {
|
||||
audio: {
|
||||
enabled: boolean;
|
||||
@@ -276,6 +282,8 @@ export interface FrigateConfig {
|
||||
|
||||
go2rtc: Record<string, unknown>;
|
||||
|
||||
camera_groups: { [groupName: string]: CameraGroupConfig };
|
||||
|
||||
live: {
|
||||
height: number;
|
||||
quality: number;
|
||||
|
||||
Reference in New Issue
Block a user