fix: Japanese/CJK albums vanished from artist discography (web + android)

The album-name normaliser stripped everything but a-z0-9, so any JP/CJK
title collapsed to "". All of an artist's Japanese singles then normalised
identically, de-duplicated into one entry and "matched" each other — e.g.
inabakumori (稲葉曇) showed only 2 of 9 releases. Normalisers now keep
Unicode letters/numbers (\p{L}\p{N}) in:
- web _normAlbum (detail.js)
- android normAlbum (categorizeAlbums), normTrack (partial-album split),
  the enrichPartialCounts helpers, and the Deezer artist-name match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Opus 4.8 committed 2026-08-22 18:49:59 +02:00
1 parent ed641e999c
commit 026b392657
6 files changed
+21 -6

No files matched your search

+8
View File
@@ -106,6 +106,14 @@ like Android), concert events become **reliable across web/Android**, several An
- **Android artist albums incomplete** — `lookupArtistAlbums` filtered to `record_type == "album"`,
dropping EPs and singles that Deezer (and the web app) show. Now returns all, sorted album → EP →
single.
- **Japanese/CJK albums vanished from the artist discography (Web + Android)** — the album-name
normaliser stripped everything except `a-z0-9`, so any Japanese/CJK title collapsed to an empty
string. All of an artist's JP singles then normalised identically (`""`), so they de-duplicated
into one entry and even "matched" each other — e.g. inabakumori (稲葉曇) showed only 2 of 9 releases,
the rest hidden behind one album. The normaliser now keeps Unicode letters/numbers (`\p{L}\p{N}`),
so JP titles stay distinct and the full discography (In Library / Unvollständig / Noch nicht
heruntergeladen) shows correctly. Same fix applied to the partial-album track match and the
Deezer-artist name match.
- **Android "Unvollständig" (partial albums) never showed** — Deezer's `/artist/{id}/albums` omits
`nb_tracks`, so an owned album's real total was unknown (0) and it never got flagged incomplete;
every partly-downloaded album looked complete. The artist VM now resolves the real track count for