fix: login flash, album name casing, lrclib duration mismatch
- Android: show nothing while DataStore loads credentials (null initial value) to prevent login screen flash on startup when already logged in - Web: dispAlbumName now only uses sortName as romaji for Japanese titles; English albums with lowercase ALBUMSORT tags now display correct casing - lrclib: add no-duration fallback exact match to find songs where local file duration differs from lrclib entry (e.g. Sanctuary Opening 5:58 vs 4:24) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
0272b9e99f
commit
f7012dab49
5 files changed
+34
-8
No files matched your search
+2
-1
@@ -201,7 +201,8 @@ export function dispAlbumName(album) {
|
||||
const ov = getRomajiOverrides();
|
||||
if (name && ov[name]) return ov[name];
|
||||
const sort = album?.sortName;
|
||||
if (sort && !_isJp(sort)) return sort;
|
||||
// Only use sortName as romaji when the album title itself is Japanese — otherwise sortName is just a sort key (e.g. lowercase "ultra blue")
|
||||
if (sort && _isJp(name) && !_isJp(sort)) return sort;
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user