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 || '',