fix: use iTunes names instead of kuromoji for Spotify Japanese tracks
Search iTunes with original Japanese names (accurate) rather than pre-converting with kuromoji (inaccurate for uncommon names/readings). iTunes returns the correct English artist name and title directly. Also run iTunes enrichment for single-track Spotify imports. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
446c583f7f
commit
36b09856ed
2 files changed
+2
-9
No files matched your search
+2
-2
@@ -236,8 +236,8 @@ function _renderSpotifyPreview(data) {
|
||||
(data.tracks || []).forEach((t, i) => list.appendChild(makeGlobalTrackItem(t, i, data.tracks)));
|
||||
section.style.display = '';
|
||||
|
||||
// Lazy-load correct per-track artwork via iTunes in the background
|
||||
if ((data.type === 'playlist' || data.type === 'album') && count > 0 && S.cfg.backendUrl) {
|
||||
// Lazy-load correct per-track artwork and canonical names via iTunes in the background
|
||||
if (count > 0 && S.cfg.backendUrl) {
|
||||
_loadSpotifyTrackArtwork(data.tracks, list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user