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 "Begrenzt durch das Qualitätslimit für {}"
msgid "capped for this device"
msgstr "für dieses Gerät begrenzt"
msgid "Albums by folder"
msgstr "Alben nach Ordner"
msgid "Albums by metadata"
msgstr "Alben nach Metadaten"
msgid "ALBUMS VIEW"
msgstr "ALBENANSICHT"
msgid "Album grouping"
msgstr "Album-Gruppierung"
msgid "Folders: one card per album folder — best for compilations and box sets. Metadata: split by album + artist tags."
msgstr "Ordner: eine Karte pro Album-Ordner — ideal für Compilations und Boxsets. Metadaten: nach Album- + Künstler-Tags aufteilen."