feat: accept space, &, / as artist separators in metadata editor

- Space as fallback separator on save when no explicit separator present
  (Artist1 Artist2 → Artist1;Artist2)
- & and / added to explicit separator set everywhere
- navidromeArtist (download path) also handles /

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-24 12:30:18 +02:00
1 parent 8a60ab2b98
commit e5bb2bf2d3
3 files changed
+6 -2

No files matched your search

+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) {