Merge pull request #99 from dermotduffy/v1.1.0
Clicking on a snapshot should search for a related clip (not a related snapshot!)
This commit is contained in:
@@ -137,6 +137,7 @@ export class FrigateCardViewer extends LitElement {
|
|||||||
// Fetch clips within the same second (same camera/zone/label, etc).
|
// Fetch clips within the same second (same camera/zone/label, etc).
|
||||||
const clipsAtSameTime = await browseMediaQuery(this.hass, {
|
const clipsAtSameTime = await browseMediaQuery(this.hass, {
|
||||||
...this.browseMediaQueryParameters,
|
...this.browseMediaQueryParameters,
|
||||||
|
mediaType: 'clips',
|
||||||
before: startTime + 1,
|
before: startTime + 1,
|
||||||
after: startTime,
|
after: startTime,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user