_findRelatedClips is actually searching for "snapshots"

This commit is contained in:
Jason Hunter
2021-10-02 14:31:05 -04:00
committed by GitHub
parent 30b6424b78
commit f71f463d30
+1
View File
@@ -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,
}); });