Use the newly embedded Frigate event metadata.

This commit is contained in:
Dermot Duffy
2022-03-19 09:00:21 -07:00
parent 983aff4dd8
commit b9cef866c9
3 changed files with 12 additions and 26 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ export class FrigateCard extends LitElement {
});
return;
}
const event_id = BrowseMediaUtil.extractEventID(this._view.media);
const event_id = BrowseMediaUtil.getEventID(this._view.media);
if (!event_id) {
this._setMessageAndUpdate({
message: localize('error.download_no_event_id'),