Commit Graph
1304 Commits
Author SHA1 Message Date
Dermot Duffy 47fdfbceeb fix: Correctly display MJPEG streams (#1734)
* fix: Correctly display MJPEG streams

* Request update after load event arrives
2024-12-10 19:35:09 -08:00
Dermot Duffy 216ded29f3 fix: Fix hover-card menu style (#1731)
- Closes `hover-card` menu style is broken #1721
2024-12-09 18:13:23 -08:00
Dermot Duffy a679680640 fix: Change for semantic-release testing (#1718) 2024-12-08 17:02:59 -08:00
Dermot Duffy 649b0280ee feat: Increase max thumbnail size to 300px (#1703)
* feat: Remove max thumbnail size

* Remove old comment.

* Set max to 350px

* Decrease max size to 300px
2024-12-08 13:03:47 -08:00
Dermot Duffy 24a6870937 fix: Allow 9:16 aspect-ratio gallery to render without a gap in Safari (#1705) 2024-12-02 22:08:54 -08:00
Dermot Duffy 9ac6134446 perf: Change media fetches to be asynchronous to view render (#1702)
This is a fairly non-trivial change in terms of consequence, so a greater than average chance something breaks. This is necessary since some cameras (e.g. Reolink) are materially slower to fetch media, and this change substantially improves card responsiveness.
2024-12-01 20:57:48 -08:00
Dermot Duffy 030b1e7a78 fix: Adapt ha-hls-player patch to HA 2024.11 code (#1679)
* Adapt `ha-hls-player` patch to HA `2024.11` code.

* Add the poster back in
2024-11-27 15:13:22 -08:00
Dermot Duffy 241719c14e fix: Column sizing may calculate incorrectly in grid mode (#1695) 2024-11-27 12:45:42 -08:00
Dermot Duffy dada65e008 feat: Add experimental reolink media support (#1694)
* feat: Add experimental rich reolink support.

* Formatting fix
2024-11-25 20:19:12 -08:00
Dermot Duffy e898b73d63 fix: Always start webrtc-card muted (#1682) 2024-11-09 16:40:25 -08:00
Dermot Duffy 5141e39dbe docs: Fix ptz_digital typos (#1680) 2024-11-09 15:25:21 -08:00
Dermot Duffy 7e3266fecc refactor: Split viewer.ts into multiple files (#1645) 2024-10-13 20:27:47 -07:00
Dermot Duffy f473cae6b5 refactor: Split live.ts into multiple files (#1644) 2024-10-13 20:00:38 -07:00
Dermot Duffy 7895de96d2 fix: Rationalize custom icons to avoid duplication (#1639) 2024-10-13 16:24:51 -07:00
Dermot Duffy 0ec9afbad2 feat: Add permanent menu items for hidden menus (#1636) 2024-10-13 11:05:33 -07:00
Dermot Duffy 9ca56d061f fix: Improve media background image (#1635)
* fix: Improve media background image

* Simplify loading spinner.

This is slightly less fancy, but removes code. I'm guessing no-one will notice or care enough to raise it! (BMFW).
2024-10-12 14:31:26 -07:00
Dermot Duffy b3602c3809 fix: Correctly determine whether to show PTZ controls (#1631) 2024-10-09 20:38:27 -07:00
Dermot Duffy 057d07a179 fix: Always play the media target after a HA tab change (#1627)
* fix: Always play the media target after a HA tab change

* Formatting
2024-10-08 20:29:43 -07:00
Dermot Duffy 78e4eedf85 fix: Zoom/pan support for WebRTC Card (#1624) 2024-10-07 07:31:56 -07:00
Dermot Duffy 323d1ff7c4 fix: Treat a un/selection of grid items as selected for auto media actions (#1623)
This is a slight behavioral change vs earlier v6 betas, but makes the media actions less surprising. This also allows for automated unmuting in a grid when a camera is selected, without having _every_ camera automatically unmuted.
2024-10-06 16:32:16 -07:00
Dermot Duffy d7fa2933da fix: Show a background image in case media doesn't load (#1622) 2024-10-06 14:51:44 -07:00
Dermot Duffy ba90e1dabc fix: Update go2rtc client with the latest changes (#1620) 2024-10-05 16:38:24 -07:00
Dermot Duffy abcba34a3f fix: Only show PTZ controls for selected camera in grid mode (#1619) 2024-10-05 14:17:34 -07:00
Dermot Duffy 632e06b7f9 fix: Do not show menu icons on top of other unrelated HA content (#1617)
* fix: Do not show menu icons on top of other unrelated HA content

* Change z-indices to work when multiple cards are used

* Formatting
2024-10-05 11:59:43 -07:00
Dermot Duffy b5c2f00128 fix: Do not show the cameras menu with <= 1 camera (#1616) 2024-10-04 18:41:02 -07:00
Dermot Duffy 21b468734c fix: Fix thumbnail carousel scroll position (#1606)
* fix: Fix thumbnail carousel scroll position

* Small formatting fix
2024-10-02 20:28:13 -07:00
Felipe SantosandDermot Duffy 1f5d4bd8b0 fix: media_stop not supported on Google Cast devices (#1605)
* fix: `media_stop` not supported on Google Cast devices

* Add tests for new stop functionality

---------

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
2024-10-02 20:06:08 -07:00
Felipe SantosandDermot Duffy 9098eb3483 feat: Rework casting profile and documentation (#1602)
* feat: Rework casting profile and documentation

* Apply suggestions from code review

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

* Some other minor details

* Update docs/usage/casting.md

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

* Improve const.ts

* Some other small changes

* Update docs/usage/casting.md

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

---------

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
2024-10-02 19:45:16 -07:00
Dermot Duffy eccf50252f fix: Fix card initialization on some cast devices (#1601) 2024-10-01 12:19:22 -07:00
Dermot Duffy 9393722fa6 refactor: Cache device information centrally (#1598) 2024-09-29 17:17:40 -07:00
Dermot Duffy 02fb6e1d4c refactor: Refactor entity register manager (#1597) 2024-09-29 15:55:28 -07:00
Dermot Duffy ff6dbba9f3 fix: Fix curved corners (again) (#1595) 2024-09-29 13:37:39 -07:00
Dermot Duffy 8c5aebef03 fix: Don't hide menu in casting profile (#1590) 2024-09-27 18:52:16 -07:00
Dermot Duffy 464a68ba03 fix: Menu should render over drawer (#1589) 2024-09-27 18:27:36 -07:00
Dermot Duffy f560113031 fix: Ensure media info is dispatched after view change (#1587) 2024-09-25 21:48:36 -07:00
Dermot Duffy 4e3b16f9b8 fix: Multiple cards should form a masonry layout (#1585) 2024-09-24 20:01:49 -07:00
Dermot Duffy 1bc164ecd6 fix: Menu linear background should match alignment (#1584) 2024-09-24 19:26:12 -07:00
Dermot Duffy 06345ca01d fix: Don't run the query string actions until after initialization (#1579) 2024-09-24 17:56:43 -07:00
Dermot Duffy 1e0a990855 feat: Add new casting profile (#1575)
* feat: Add new `casting` profile

* Set some additional flags for casting
2024-09-23 20:24:35 -07:00
Dermot Duffy d203f529f8 fix: Don't block for microphone initialization if browser does not support microphone (#1576) 2024-09-23 20:08:25 -07:00
Dermot Duffy 3576a51be1 fix: Weird menu rendering placement issue on Firefox browsers (#1572)
* fix: Weird menu rendering placement issue on Firefox browsers

* Extra encouragement for Firefox to justify correctly
2024-09-22 19:19:27 -07:00
Dermot Duffy 299d21acab fix: Untriggering to default should reset to default camera (#1571) 2024-09-22 16:00:08 -07:00
Dermot Duffy 766f3422a9 fix: Unparseable config when using the low-performance profile (#1570)
* The `low-performance` profile itself had parse errors: fix them!
* Do not silently swallow override parse errors, they are always a user issue
* Minor error message rendering improvements to show multiple pieces of context
2024-09-22 15:08:37 -07:00
Dermot Duffy a4417e8a3d perf: Only trigger a state change if the state is definitely different (#1569) 2024-09-22 13:18:50 -07:00
Dermot Duffy 716a33fb96 fix: Use pkg version until semantic-release is used (#1565)
* fix: Use pkg version until semantic-release is used

* Make istanbul happy with coverage
2024-09-22 12:55:44 -07:00
Dermot Duffy c225a9aeab fix: Configured PTZ actions should overrule auto-detected actions (not merge with them) (#1558)
* fix: Configured PTZ actions should overrule auto-detected actions (not merge with them)

* Don't populate capabilities unless there is some basis
2024-09-21 18:32:40 -07:00
Dermot Duffy 7fd6bc6bee fix: Timeline window should match selected events for media views (#1555) 2024-09-21 15:39:18 -07:00
Dermot Duffy 9efa873cba fix: Menu linear gradient is the wrong direction on left/right menus (#1553)
* fix: Menu linear gradient is the wrong direction on left/right menus

Also changes the gallery scrolling logic to center the selected element vs top aligned.

* Formatting fix
2024-09-21 15:00:42 -07:00
Dermot Duffy e5cbfa9976 fix: Assume conditions are state conditions unless otherwise specified (#1552) 2024-09-21 13:41:13 -07:00
Dermot Duffy 15d33f63fb fix: Destroy cameras after failed initialization (#1551) 2024-09-21 13:17:22 -07:00