Commit Graph
100 Commits
Author SHA1 Message Date
Dermot Duffy 5c7a4d8c0a Upgrade zod to repair 'undefined' issue upstream. 2023-02-09 19:35:01 -08:00
Dermot Duffy 4111473424 Update zod and typescript. 2023-02-08 21:03:24 -08:00
Dermot Duffy 7db27e4726 Specify package manager. 2023-02-08 20:45:23 -08:00
Dermot Duffy 479671ab6c Match media direction to timeline. 2023-02-08 19:51:57 -08:00
Dermot Duffy 1d4cb3f9ff Merge pull request #926 from dermotduffy/major-engine-refactor
Complete engine overhaul
2023-02-06 21:08:36 -08:00
Dermot Duffy 3d799d6fa6 Fix minor timeline bug for recordings. 2023-02-06 20:35:56 -08:00
Dermot Duffy aa6d990ee8 Minor fixes and upgrades. 2023-02-06 20:31:02 -08:00
Dermot Duffy c86a091546 Implement media filtering. 2023-02-05 20:27:24 -08:00
Dermot Duffy c898f038bd Remove old TODO. 2023-01-30 21:24:59 -08:00
Dermot Duffy d27b9d9520 Tweaks to reduce bundle size. 2023-01-30 21:22:58 -08:00
Dermot Duffy a9074bd44e Results of running ts-prune. 2023-01-30 21:11:21 -08:00
Dermot Duffy f3149d2ff3 Mark TODO as fixed. 2023-01-30 20:37:40 -08:00
Dermot Duffy d1755eedcb Reset the timeline data source when the cameraIDs change. 2023-01-30 20:30:26 -08:00
Dermot Duffy f9f2a494c6 Avoid dispatching range changed events if there's nothing to be gained. 2023-01-30 20:21:12 -08:00
Dermot Duffy 93e8a8e71b Avoid resetting timeline when cameraIDs change. 2023-01-30 19:53:29 -08:00
Dermot Duffy ac295327ec Correctly calculate cameraIDs to display. 2023-01-29 22:05:09 -08:00
Dermot Duffy a5921e9f91 Import cleanups to avoid circular imports. 2023-01-29 20:44:08 -08:00
Dermot Duffy a7cab0ea1a Fix query extension bug. 2023-01-29 20:18:38 -08:00
Dermot Duffy d0ded29741 Minor fixes. 2023-01-29 20:06:18 -08:00
Dermot Duffy 01c3a79ff1 Remove the MediaQuery wrapper from the camera manager. 2023-01-29 20:00:45 -08:00
Dermot Duffy 767d4ee7a0 Handle timeline item click corner case. 2023-01-29 19:28:34 -08:00
Dermot Duffy edb7a88266 Add moved folder. 2023-01-29 19:16:30 -08:00
Dermot Duffy 730eb42983 Rename camera directory to camera-manager. 2023-01-29 19:02:24 -08:00
Dermot Duffy 0df6faaf7d Move camera name and icon into camera manager. 2023-01-29 18:30:07 -08:00
Dermot Duffy eed436d77f Get camera name the correct way. 2023-01-29 16:07:56 -08:00
Dermot Duffy 49e5cc5c5e Make debug logging controllable by config. 2023-01-29 15:56:47 -08:00
Dermot Duffy 0caf64ba82 Make filter mode configurable. 2023-01-29 14:26:49 -08:00
Dermot Duffy 17c4a5a85f Use standard spinner for gallery loading. 2023-01-29 13:54:39 -08:00
Dermot Duffy 95ced8f177 Fix event details default. 2023-01-29 13:40:29 -08:00
Dermot Duffy b1f56dd02c Set the correct view depending on media filter selections. 2023-01-29 13:31:21 -08:00
Dermot Duffy 32edaee192 Handle media metadata exceptions. 2023-01-29 11:57:07 -08:00
Dermot Duffy 5fb2a9d3ed Include metadata from recordings. 2023-01-29 11:26:48 -08:00
Dermot Duffy 1ad600c231 Improve media selection logic. 2023-01-29 08:02:36 -08:00
Dermot Duffy 931e9febce Support media type in core filter. 2023-01-28 15:19:20 -08:00
Dermot Duffy 3cf278bd01 Media query extension should still honor time start/end. 2023-01-28 09:28:36 -08:00
Dermot Duffy 67b134308a Fetch metadata from engine. 2023-01-26 21:55:07 -08:00
Dermot Duffy bd19ed7a74 Add initial media filtering for the gallery. 2023-01-24 21:55:38 -08:00
Dermot Duffy 6ca7ef85ec Minor cleanup. 2023-01-24 19:36:54 -08:00
Dermot Duffy 04d3ca3f46 Convert to batch queries. 2023-01-24 19:36:54 -08:00
Dermot Duffy 92b75c4b1a Configurable drawer icons. 2023-01-24 19:36:54 -08:00
Dermot Duffy e5924db352 Initial version of media filter components. 2023-01-24 19:36:54 -08:00
Dermot Duffy d0a6f0928f Add 'infinite' gallery support. 2023-01-24 19:36:54 -08:00
Dermot Duffy 7b0cde0e50 Convert gallery to new engine (initial draft). 2023-01-24 19:36:54 -08:00
Dermot Duffy 33e7f308ed Force the timeline window always. 2023-01-24 19:36:54 -08:00
Dermot Duffy 1feec926dd Remove TODO. 2023-01-24 19:36:54 -08:00
Dermot Duffy 5da79d5172 Reduce cache-friendly range. 2023-01-24 19:36:54 -08:00
Dermot Duffy 7d8e06cff3 Timeline noSetWindow cleanup. 2023-01-24 19:36:54 -08:00
Dermot Duffy 8eb88cb1d4 Minor timeline UX improvements. 2023-01-24 19:36:54 -08:00
Dermot Duffy 6b2036676c Move seeking support into the engine. 2023-01-24 19:36:54 -08:00
Dermot Duffy 13816c3025 Add timezone to diagnostics. 2023-01-24 19:36:54 -08:00
Dermot Duffy 3e749d03cb Minor viewer renames/fixes. 2023-01-24 19:36:54 -08:00
Dermot Duffy 208795d7b3 Restore initial draft of video seeking. 2023-01-24 19:36:54 -08:00
Dermot Duffy a718e5febe Move more static information into the media. 2023-01-24 19:36:54 -08:00
Dermot Duffy 7896dfeb3c Rip out unnecessary view media templating. 2023-01-24 19:36:54 -08:00
Dermot Duffy 09c38d96f6 Fix TODO items. 2023-01-24 19:36:54 -08:00
Dermot Duffy f073f06789 Refactor Frigate specific details out of ViewMediaBase. 2023-01-24 19:36:54 -08:00
Dermot Duffy 36f14e153c Add segment garbage collection. 2023-01-24 19:36:54 -08:00
Dermot Duffy 54a4dd854f Don't pass cameraConfig in with favouriteMedia request. 2023-01-24 19:36:54 -08:00
Dermot Duffy 9c1ea3b922 Dedup recordings. 2023-01-24 19:36:54 -08:00
Dermot Duffy 54f63d0cf3 Add error handling for camera manager calls. 2023-01-24 19:36:54 -08:00
Dermot Duffy e85d46d84a Reset carousel plugins if results change. 2023-01-24 19:36:54 -08:00
Dermot Duffy 191c901952 Do a fresh media query on snapshot->clip conversion. 2023-01-24 19:36:54 -08:00
Dermot Duffy eefe665f25 Remove confusing carousel methods. 2023-01-24 19:36:54 -08:00
Dermot Duffy 1762b5530f Refactor media classifiers. 2023-01-24 19:36:54 -08:00
Dermot Duffy 0f5f5b7ddf Support 'all' as media type for live thumbnails. 2023-01-24 19:36:54 -08:00
Dermot Duffy 65aa9716fc Clean up thumbnail schema handling. 2023-01-24 19:36:54 -08:00
Dermot Duffy 401e7c5255 Add limit support for recordings. 2023-01-24 19:36:54 -08:00
Dermot Duffy 980ba1fc6f Break apart view.ts into multiple files. 2023-01-24 19:36:54 -08:00
Dermot Duffy 9cdf4e8e4d Use a MediaQueriesClassifier for consistency. 2023-01-24 19:36:54 -08:00
Dermot Duffy 962311f241 Change handler methods to async for cleanliness. 2023-01-24 19:36:54 -08:00
Dermot Duffy 5385d4d5fd Move some Frigate specific interfaces under the Frigate engine. 2023-01-24 19:36:54 -08:00
Dermot Duffy e08cb95b16 Move frigate util under the camera manager hierarchy. 2023-01-24 19:36:54 -08:00
Dermot Duffy d8614a3e8d Move frigate utils under the camera manager directory for Frigate. 2023-01-24 19:36:54 -08:00
Dermot Duffy 39b44863ce Rename DataManager to CameraManager. 2023-01-24 19:36:54 -08:00
Dermot Duffy e0d2dfaa60 Dispatch message if the viewer has no media to show. 2023-01-24 19:36:54 -08:00
Dermot Duffy 5be6ee86e0 Timeline performance improvements. 2023-01-24 19:36:54 -08:00
Dermot Duffy 6415597e9b Sort TODO list. 2023-01-24 19:36:54 -08:00
Dermot Duffy 66ee65f8cc Use query type instead of view. 2023-01-24 19:36:54 -08:00
Dermot Duffy 093925cb40 Initial code for major engine refactor. 2023-01-24 19:36:54 -08:00
Dermot Duffy 03de7b473a Merge branch 'release-4.1.0' of https://github.com/dermotduffy/frigate-hass-card into release-4.1.0 2023-01-24 19:35:10 -08:00
Dermot Duffy fe9b449227 Merge branch 'main' into release-4.1.0 2023-01-24 19:34:46 -08:00
Dermot Duffy 0c4ed9de02 Merge pull request #912 from dermotduffy/fix-recording-identifiers
Fix recording identifier
2023-01-02 11:05:42 -08:00
Dermot Duffy 1f544dcb04 Fix recording identifier. 2023-01-02 10:51:05 -08:00
Dermot Duffy 0aa338d5f3 Merge pull request #882 from felipecrs/update-domain-icons
Update media player icons
2022-10-19 19:49:47 -07:00
Dermot Duffy 4163477109 Merge pull request #875 from dermotduffy/carousel-issues
Fix carousel previous/next controls not showing
2022-10-16 12:24:33 -07:00
Dermot Duffy 0a43d6aad5 Fix carousel previous/next controls not showing. 2022-10-15 15:45:43 -07:00
Dermot Duffy 09598173a3 Merge pull request #870 from dermotduffy/timeline-vertical-space
Expand the timeline to 100% height in panel mode
2022-10-15 12:28:08 -07:00
Dermot Duffy 700f09c12c Expand the timeline to 100% height in panel mode. 2022-10-15 12:16:43 -07:00
Dermot Duffy 42a9c62f6b Merge pull request #869 from dermotduffy/media_loaded
Rename `mediaLoaded` to `media_loaded`
2022-10-15 08:06:23 -07:00
Dermot Duffy a54b2deb7c Rename mediaLoaded to media_loaded 2022-10-14 20:11:27 -07:00
Dermot Duffy d7909961cf Merge pull request #868 from dermotduffy/video-from-click
Optionally prevent playing a clip on snapshot click
2022-10-12 18:02:20 -07:00
Dermot Duffy cfdf0a429b Add optional prevention of playing a clip on snapshot click 2022-10-12 17:58:36 -07:00
Dermot Duffy 7a3b86d2a3 Merge pull request #867 from dermotduffy/controls-hide
Add hiding controls to native webrtc player (oops)
2022-10-11 22:02:55 -07:00
Dermot Duffy cebdf9a789 Add hiding controls to native webrtc player (oops) 2022-10-11 22:00:22 -07:00
Dermot Duffy 38c6ce33c0 Merge pull request #866 from dermotduffy/pip
Add media query support (conditions based on device properties such as orientation or viewport width)
2022-10-11 21:25:58 -07:00
Dermot Duffy 8f7de97928 Add media query support. 2022-10-11 21:16:38 -07:00
Dermot Duffy 8d6f9b1a21 Merge pull request #864 from dermotduffy/hover-card
Add a `hover-card` menu style
2022-10-10 20:46:40 -07:00
Dermot Duffy c35fdc56d5 Add a hover-card menu style. 2022-10-10 20:43:35 -07:00
Dermot Duffy 5fac1c2e1f Merge pull request #863 from dermotduffy/hide-video-controls
Hide video controls briefly on media load for cleaner look
2022-10-10 20:04:34 -07:00
Dermot Duffy 3707917903 Hide video controls briefly on media load. 2022-10-10 20:00:51 -07:00