Skip to content

Commit c52c4f7

Browse files
committed
Release HOMEii Music Flow 5.9.3
1 parent fc37a27 commit c52c4f7

17 files changed

Lines changed: 919 additions & 293 deletions

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## 5.9.3 - 2026-06-20
4+
5+
Focused stability release for queue, search, configured-player selection, Radio favorites, progress timing, and Diagnostics.
6+
7+
Fixed:
8+
9+
- Detects partial Music Assistant queue snapshots instead of treating them as a clean OK state.
10+
- Keeps fuller rendered queue data when a new queue API response only contains a partial window.
11+
- Makes configured `entity` work as a stable default player while preserving query-string overrides and currently active playback priority.
12+
- Shows entity ids in player-selection surfaces to help users distinguish duplicate friendly names.
13+
- Continues provider/direct Music Assistant search after fast library results, then merges provider results back into the UI.
14+
- Uses Direct Music Assistant `music/search` for provider search when direct access is available.
15+
- Fixes RadioBrowser/external radio favorite handling so selected stations do not depend on the currently playing item.
16+
- Keeps LTR search input alignment scoped to non-RTL layouts.
17+
- Improves progress calculation by preferring trusted player timing when queue timing drifts.
18+
19+
Diagnostics:
20+
21+
- Adds Diagnostics v7.
22+
- Adds a Configured entity check that explains whether the configured entity exists, is visible, is excluded, is a Music Assistant player, or was overridden by another selection source.
23+
- Adds Search providers checks that report HA search, Direct `music/search`, active query, result counts, and timing for fast/library search versus provider search.
24+
- Improves Queue UI state and Queue snapshot wording when only a partial queue window is available.
25+
26+
Validation:
27+
28+
- `node --check src/homeii-music-flow.js`
29+
- `node --check src/core/base-music-card.js`
30+
- `npm.cmd run build`
31+
- `npm.cmd test`
32+
- Full Vitest suite passed locally: 231 tests.
33+
334
## 5.9.2 - 2026-06-16
435

536
Focused hotfix for in-card Settings and Diagnostics access.

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ https://github.com/user-attachments/assets/a0076e6e-0352-40f8-ac37-35737e717a80
4040
<a href="https://www.hacs.xyz/docs/use/download/download/">
4141
<img alt="Install HACS" src="https://img.shields.io/badge/Install-HACS-41BDF5?logo=homeassistant&logoColor=white">
4242
</a>
43-
<a href="https://github.com/r11a/homeii-music-flow/archive/refs/tags/v5.9.2.zip">
44-
<img alt="Download HOMEii Flow 5.9.2 stable tag archive" src="https://img.shields.io/badge/Download-v5.9.2%20stable-111111?logo=github">
43+
<a href="https://github.com/r11a/homeii-music-flow/archive/refs/tags/v5.9.3.zip">
44+
<img alt="Download HOMEii Flow 5.9.3 stable tag archive" src="https://img.shields.io/badge/Download-v5.9.3%20stable-111111?logo=github">
4545
</a>
4646
</p>
4747

4848
<p align="center">
49-
<a href="https://github.com/r11a/homeii-music-flow/releases/tag/v5.9.2"><img alt="stable version" src="https://img.shields.io/badge/stable-5.9.2-gold"></a>
50-
<a href="https://github.com/r11a/homeii-music-flow/releases/tag/v5.9.2"><img alt="release notes" src="https://img.shields.io/badge/release%20notes-5.9.2-8A63D2"></a>
49+
<a href="https://github.com/r11a/homeii-music-flow/releases/tag/v5.9.3"><img alt="stable version" src="https://img.shields.io/badge/stable-5.9.3-gold"></a>
50+
<a href="https://github.com/r11a/homeii-music-flow/releases/tag/v5.9.3"><img alt="release notes" src="https://img.shields.io/badge/release%20notes-5.9.3-8A63D2"></a>
5151
<a href="https://github.com/r11a/homeii-music-flow/blob/main/docs/README.md"><img alt="documentation" src="https://img.shields.io/badge/docs-user%20guide-2EA043"></a>
5252
<img alt="Home Assistant" src="https://img.shields.io/badge/Home%20Assistant-Dashboard-41BDF5">
5353
<img alt="Music Assistant" src="https://img.shields.io/badge/Music%20Assistant-required-7C5CFF">
@@ -74,22 +74,22 @@ HOMEii Flow is a custom Home Assistant Dashboard card for Music Assistant. It tu
7474

7575
HOMEii Flow started from my own daily use of Home Assistant and Music Assistant. I wanted it to feel less like a technical dashboard widget and more like a real music app inside Home Assistant, so a lot of thought went into the flow, touch interactions, Hebrew/RTL comfort, wall-tablet behavior, mobile details, and the small moments that make choosing music feel natural at home.
7676

77-
## 5.9.2 Hotfix
77+
## 5.9.3 Stability Release
7878

79-
HOMEii Flow 5.9.2 is a focused hotfix on top of 5.9.1. It restores the in-card Settings screen and Diagnostics access after a missing Announcements settings method caused Settings to fail for some users.
79+
HOMEii Flow 5.9.3 is a focused stability release on top of 5.9.2. It improves queue handling, configured-player selection, provider search, Radio favorites, progress timing, and Diagnostics while keeping the release scoped to bug fixes and supportability.
8080

8181
Release focus:
8282

83-
- **Settings hotfix:** fixes `this._settingsSectionAnnouncements is not a function`.
84-
- **Diagnostics access:** restores the path to in-card Music Assistant Diagnostics.
85-
- **Announcements settings:** restores the Announcements settings section.
86-
- **Configuration clarity:** explains that `ma_url` / `ma_token` are for Direct/Sendspin access and do not replace the Home Assistant Music Assistant integration.
87-
- **No queue logic change:** empty Queue reports should now be diagnosed with the restored Diagnostics screen.
83+
- **Queue stability:** detects partial Music Assistant queue snapshots and avoids treating them as clean OK states.
84+
- **Player selection clarity:** configured `entity` works as a stable default, and player selection surfaces expose entity ids when friendly names are ambiguous.
85+
- **Search improvements:** fast library results can appear immediately while provider/direct Music Assistant search continues and merges in later.
86+
- **Radio favorites:** external/RadioBrowser station favorites no longer depend on the currently playing item.
87+
- **Diagnostics v7:** adds configured-entity and search-provider checks for cleaner support reports.
8888

8989
After updating, hard-refresh with:
9090

9191
```text
92-
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.9.2
92+
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.9.3
9393
```
9494

9595

@@ -139,7 +139,7 @@ If HACS does not add the resource automatically, add:
139139
3. Add this Dashboard resource:
140140

141141
```text
142-
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.9.2
142+
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.9.3
143143
```
144144

145145
4. Add the card:
@@ -826,7 +826,7 @@ src/core/ extracted foundation helpers
826826
src/config/ config validators
827827
tests/ regression coverage
828828
scripts/release.mjs release sync tooling
829-
RELEASE_NOTES_5.9.2.md detailed GitHub release notes for the current stable release
829+
RELEASE_NOTES_5.9.3.md detailed GitHub release notes for the current stable release
830830
docs/README.md complete user documentation hub
831831
docs/brand/ logo and brand assets
832832
docs/media/ GitHub/HACS README screenshots and GIF
@@ -844,7 +844,7 @@ npm run lint
844844
npm test
845845
```
846846

847-
Current packaged version: `5.9.2`
847+
Current packaged version: `5.9.3`
848848

849849
## Release Readiness
850850

@@ -899,7 +899,7 @@ Credit and thanks:
899899
- [Complete user documentation](./docs/README.md)
900900
- [Local deployment guide](./LOCAL_DEPLOYMENT.md)
901901
- [Publishing checklist](./PUBLISHING.md)
902-
- [5.9.2 release notes](./RELEASE_NOTES_5.9.2.md)
902+
- [5.9.3 release notes](./RELEASE_NOTES_5.9.3.md)
903903
- [Older releases and tags](https://github.com/r11a/homeii-music-flow/releases)
904904
- [QA matrix](./docs/qa-matrix.md)
905905
- [Repo assets checklist](./docs/repo-assets-checklist.md)

RELEASE_NOTES_5.9.3.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# HOMEii Music Flow 5.9.3
2+
3+
Release date: 2026-06-20
4+
5+
HOMEii Music Flow 5.9.3 is a focused stability release for the open 5.9.x support reports. It improves queue handling, player selection clarity, search behavior, Radio favorites, progress timing, and Diagnostics without adding new experimental features.
6+
7+
## Why This Release Exists
8+
9+
The 5.9.2 hotfix restored Settings and Diagnostics access. After users could share better reports, the remaining issues were clearer:
10+
11+
- some queues were shown as empty or partial even when Music Assistant had a larger queue
12+
- `entity:` did not always behave like the expected default player
13+
- provider search could stop after library results or feel like it never searched Spotify/Music Assistant providers
14+
- Radio favorite actions could still target the current item instead of the selected station
15+
- users with duplicate player names needed to see the real entity id while pinning/selecting players
16+
- progress could drift from Music Assistant timing in some setups
17+
18+
## Fixed And Improved
19+
20+
- Improved queue snapshot handling so partial Music Assistant queue windows are detected instead of being treated as a clean success.
21+
- Keeps fuller rendered queue data when a new queue API response is only a partial window.
22+
- Improves Diagnostics wording for partial Queue snapshots so reports now show when Home Assistant/Music Assistant only returned part of the queue.
23+
- Makes the configured `entity` act as a stable default player while still allowing query-string player overrides and currently playing players to take priority.
24+
- Adds clearer player labels with entity ids in player-selection surfaces, helping users distinguish duplicate friendly names.
25+
- Fixes provider search flow so HOMEii can show fast library results first and still continue provider/direct Music Assistant search in the background.
26+
- Adds Direct Music Assistant `music/search` provider search support using the current Music Assistant search command shape.
27+
- Fixes search result replacement so provider results can merge in after library results instead of being discarded.
28+
- Fixes RadioBrowser/external radio favorites so they use local item favorites instead of the Music Assistant current-media favorite path.
29+
- Keeps English/LTR search input alignment from leaking into RTL layouts and vice versa.
30+
- Improves progress calculation so the player position remains closer to Music Assistant by preferring trusted player timing when queue timing drifts.
31+
32+
## Diagnostics v7
33+
34+
Diagnostics now adds two focused checks:
35+
36+
- **Configured entity:** reports whether the configured card `entity` exists, whether it looks like a Music Assistant player, whether it is hidden by pinned/excluded filters, and why HOMEii selected another player if it did.
37+
- **Search providers:** when run after a search, reports HA search availability, Direct `music/search` availability, result counts, and timing for fast/library search versus provider search.
38+
39+
Queue Diagnostics also reports partial queue windows more clearly, including cases where the rendered queue count is lower than the queue state count.
40+
41+
## Important Notes
42+
43+
This release improves queue handling and diagnostics, but it does not claim that every empty Queue report is caused by HOMEii.
44+
45+
If Home Assistant or Music Assistant only returns a partial queue and no fuller Mass/Direct queue path is available, HOMEii cannot invent missing queue items. In that case, 5.9.3 should at least report the exact limitation clearly instead of showing a misleading OK state.
46+
47+
Spotify/provider search can still be slow when Music Assistant itself is waiting on a cold provider search. HOMEii now avoids stopping early after library results, but provider latency is still controlled by Music Assistant and the provider.
48+
49+
## Validation
50+
51+
- `node --check src/homeii-music-flow.js`
52+
- `node --check src/core/base-music-card.js`
53+
- `npm.cmd run build`
54+
- `npm.cmd test`
55+
- Full Vitest suite passed locally: 231 tests.
56+
- Production build and release artifact sync passed locally for `5.9.3`.
57+
58+
## Manual Resource Refresh
59+
60+
After updating, use a hard refresh or update the resource cache-buster:
61+
62+
```text
63+
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.9.3
64+
```

dist/config/editor-element.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ return class HomeiiBaseMusicEditor extends HTMLElement {
474474
const maUrl = this._editorMaBrowserUrl();
475475
const lines = [
476476
"HOMEii Music Flow Editor Diagnostics",
477-
"Diagnostics: v6",
477+
"Diagnostics: v7",
478478
`Version: ${HOMEII_CARD_VERSION}`,
479479
`Generated: ${new Date().toISOString()}`,
480480
"Source: visual editor",
@@ -555,7 +555,7 @@ return class HomeiiBaseMusicEditor extends HTMLElement {
555555
const excluded = HomeiiMobileSettingsFoundation.normalizePinnedPlayerEntityList(this._config?.excluded_player_entities);
556556

557557
add("ok", "Editor version", "Visual editor runtime is loaded.", HOMEII_CARD_VERSION);
558-
add("ok", "Diagnostics version", "Diagnostic v6 is active.", "v6");
558+
add("ok", "Diagnostics version", "Diagnostic v7 is active.", "v7");
559559
add("info", "Browser", this._editorBrowserSummary());
560560
add("info", "Viewport", this._editorViewportSummary());
561561
add("info", "Diagnostic privacy", "External/private hostnames are redacted in visible and copied diagnostic output.");

0 commit comments

Comments
 (0)