diff --git a/src/components/timeline-core.ts b/src/components/timeline-core.ts index 3e75ae9e..ed584496 100644 --- a/src/components/timeline-core.ts +++ b/src/components/timeline-core.ts @@ -706,7 +706,7 @@ export class FrigateCardTimelineCore extends LitElement { protected _getPerfectWindowFromMedia(media: ViewMedia): TimelineWindow | null { const startTime = media.getStartTime(); - const endTime = media.getStartTime(); + const endTime = media.getEndTime(); if (ViewMediaClassifier.isEvent(media)) { const windowSeconds = this._getConfiguredWindowSeconds(); diff --git a/src/view/view.ts b/src/view/view.ts index d6896995..2dc4705f 100644 --- a/src/view/view.ts +++ b/src/view/view.ts @@ -1,6 +1,3 @@ -// Gallery: -// - TODO: View a recording from the gallery => timeline should span the hour. - import { ViewContext } from 'view'; import { FrigateCardUserSpecifiedView,