fix: remove & as artist separator

Separators: • · ; , only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-24 12:32:19 +02:00
1 parent f03c6dfabd
commit 1f13374438
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -246,7 +246,7 @@ function _normalizeArtists(str, sep) {
if (!str) return str;
// If an explicit separator is present use it; otherwise fall back to splitting on spaces
// so the user can type "Artist1 Artist2" without a semicolon.
return str.split(/\s*[•·;,&]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
return str.split(/\s*[•·;,]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
}
// Strip " - Topic" suffix YouTube Music appends to artist channel names
+1 -1
View File
@@ -240,7 +240,7 @@ document.addEventListener('click', e => {
// Track artist → "Serph; Zun" | Album artist → "Serph, Zun"
function _fmtArtists(str, sep) {
if (!str) return '';
return str.split(/\s*[•·;,&]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
return str.split(/\s*[•·;,]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
}
function _renderInfoModal(s) {