From c55f5bc5c1f20018c8c09d50edf1c7d2bdb4a012 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 8 Jul 2026 17:58:17 +0200 Subject: [PATCH] Replace underscores with spaces in filename-derived track names --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index feaac56..e42659c 100644 --- a/index.html +++ b/index.html @@ -1091,7 +1091,7 @@ async function processFiles(files, paths) { const url = URL.createObjectURL(file); const path = paths ? paths[i] : file.name; const [tags, ainfo, duration] = await Promise.all([readTags(file), readAudioInfo(file), readDuration(file)]); - const name = tags.title || file.name.replace(/\.[^.]+$/, ''); + const name = tags.title || file.name.replace(/\.[^.]+$/, '').replace(/_/g, ' '); found.push({ name, artist: tags.artist || '',