Fix TODO items.
This commit is contained in:
@@ -83,7 +83,7 @@ export class FrigateCameraManagerEngine implements CameraManagerEngine {
|
|||||||
protected _throttledSegmentGarbageCollector = throttle(
|
protected _throttledSegmentGarbageCollector = throttle(
|
||||||
this._garbageCollectSegments.bind(this),
|
this._garbageCollectSegments.bind(this),
|
||||||
60 * 60 * 1000,
|
60 * 60 * 1000,
|
||||||
{ trailing: true },
|
{ leading: false, trailing: true },
|
||||||
);
|
);
|
||||||
|
|
||||||
constructor(recordingSegmentsCache: RecordingSegmentsCache) {
|
constructor(recordingSegmentsCache: RecordingSegmentsCache) {
|
||||||
|
|||||||
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
// Medium:
|
// Medium:
|
||||||
// - TODO: Move frigate specific view-media under the camera manager.
|
|
||||||
// - TODO: ts-prune https://camchenry.com/blog/deleting-dead-code-in-typescript
|
// - TODO: ts-prune https://camchenry.com/blog/deleting-dead-code-in-typescript
|
||||||
// - TODO: Use sortedUniqBy in the engine sort/uniq combo.
|
// - TODO: getRecordingTitle should use getCameraTitle but need hass.
|
||||||
|
|
||||||
// Hard:
|
// Hard:
|
||||||
// - TODO: Implement dragging the timeline seeking forward in both Frigate recordings & events.
|
// - TODO: Implement dragging the timeline seeking forward in both Frigate recordings & events.
|
||||||
// - TODO: Implement gallery.
|
// - TODO: Implement gallery.
|
||||||
// - TODO: Remove FrigateBrowseMediaSource if not necessary (post-gallery).
|
// - TODO: Remove FrigateBrowseMediaSource if not necessary (post-gallery).
|
||||||
|
// - TODO: Remove browse-media.ts TODOs.
|
||||||
// - TODO: In generateMediaViewerContext there is an assumption that recordings start/end on the hour, which is true for Frigate but that assumption should be in the engine.
|
// - TODO: In generateMediaViewerContext there is an assumption that recordings start/end on the hour, which is true for Frigate but that assumption should be in the engine.
|
||||||
// - TODO: What should the timeline do when an event is clicked on that is not in the queryResults (or if queryResults is empty)?
|
// - TODO: What should the timeline do when an event is clicked on that is not in the queryResults (or if queryResults is empty)?
|
||||||
// - TODO: Should the timeline data source clear events (as it currently does) when the query changes?
|
// - TODO: Should the timeline data source clear events (as it currently does) when the query changes?
|
||||||
|
|||||||
Reference in New Issue
Block a user