feat: Add support for Frigate reviews / detections [initial PR] (#2315)
- Add support for Frigate reviews / detections. - Add support for GenAI metadata. - Significant internal refactor to more flexible "UnifiedQuery" to allow mixing cameras with simple metadata and review metadata (e.g. a timeline view of a Frigate camera with reviews, and a Reolink camera with simple metadata). - Add support for folder media as camera media. There are a few more PRs to commit prior to this going live, but commiting this for now due to the scale of the change. BREAKING CHANGE: `media_type` and `events_type` are retired under `live`, `viewer` and `timeline` configuration sections, instead media type is associated (once) with the camera under `media`.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# `media_gallery`
|
||||
|
||||
The `media_gallery` is used for providing an overview of all `clips`,
|
||||
`snapshots`, `recordings` and `folder` contents in a thumbnail gallery.
|
||||
`snapshots`, `recordings`, `reviews` and `folder` contents in a thumbnail
|
||||
gallery.
|
||||
|
||||
```yaml
|
||||
media_gallery:
|
||||
@@ -44,9 +45,10 @@ media_gallery:
|
||||
| Option | Default | Description |
|
||||
| ----------------------- | ------- | -------------------------------------------------------------------------------------------------------- |
|
||||
| `show_details` | `false` | Whether to show media details (e.g. duration, start time, object detected, etc) alongside the thumbnail. |
|
||||
| `show_download_control` | `true` | Whether to show the download control on each thumbnail. |
|
||||
| `show_download_control` | `false` | Whether to show the download control on each thumbnail. |
|
||||
| `show_favorite_control` | `true` | Whether to show the favorite ('star') control on each thumbnail. |
|
||||
| `show_timeline_control` | `true` | Whether to show the timeline ('target') control on each thumbnail. |
|
||||
| `show_review_control` | `true` | Whether to show the review ('check') control on each thumbnail. |
|
||||
| `show_timeline_control` | `false` | Whether to show the timeline ('target') control on each thumbnail. |
|
||||
| `size` | `100` | The size of the thumbnails in the gallery. Must be >= `75` and <= `300`. |
|
||||
|
||||
## Fully expanded reference
|
||||
@@ -61,9 +63,10 @@ media_gallery:
|
||||
thumbnails:
|
||||
size: 100
|
||||
show_details: false
|
||||
show_download_control: true
|
||||
show_download_control: false
|
||||
show_favorite_control: true
|
||||
show_timeline_control: true
|
||||
show_review_control: true
|
||||
show_timeline_control: false
|
||||
actions:
|
||||
entity: light.office_main_lights
|
||||
tap_action:
|
||||
|
||||
Reference in New Issue
Block a user