feat(library): album-identity mode — header dropdown, Settings row, persistence

Spec 2026-07-19-local-album-grouping-mode (A2-A5 + i18n). The Albums tab
gains a third header dropdown ('Albums by folder' / 'Albums by metadata')
and Settings > Local Library a matching 'Album grouping' row — both write
the same pref: LocalLibraryState.albums-id-mode, persisted in
locallibrary_ui.json (default 'folder': compilations and box sets stay
whole; the metadata split stays opt-in for #411's use case).

The group key changes with the mode, so switching reloads the Albums set
(reload_albums) and invalidates the Artists tab (its album cache groups
the same way — a folder-mode compilation cross-lists under every artist
in all_artists, the owner's 'appears in all artists' ask). Threaded
through spawn_albums_load, seed_counts, the Plex quality-hydration
aggregate lookup, and the artists feed; myqbz_builder pins Metadata
(artist-scoped candidates, not the Albums view).

5 msgids x 8 locales (msgfmt clean); slintcheck green.

km
This commit is contained in:
vicrodh committed 2026-07-21 14:11:04 -06:00
1 parent 77e41caa2f
commit c72e71d410
15 files changed
+250 -1

No files matched your search

@@ -4750,3 +4750,18 @@ msgstr "Limité par le plafond de qualité pour {}"
msgid "capped for this device"
msgstr "plafonné pour cet appareil"
msgid "Albums by folder"
msgstr "Albums par dossier"
msgid "Albums by metadata"
msgstr "Albums par métadonnées"
msgid "ALBUMS VIEW"
msgstr "VUE ALBUMS"
msgid "Album grouping"
msgstr "Regroupement des albums"
msgid "Folders: one card per album folder — best for compilations and box sets. Metadata: split by album + artist tags."
msgstr "Dossiers : une carte par dossier d'album — idéal pour les compilations et coffrets. Métadonnées : séparer par tags album + artiste."