diff --git a/index.html b/index.html index 03213c2..1723c4d 100644 --- a/index.html +++ b/index.html @@ -275,6 +275,7 @@ footer .footer-track { flex: 1; min-width: 0; white-space: nowrap; overflow: hid

Edit Tags

+ @@ -782,6 +783,7 @@ const peakHoldSelect = document.getElementById('peakHoldSelect'); const crossfadeSelect = document.getElementById('crossfadeSelect'); const infoBtn = document.getElementById('infoBtn'); const tagEditorOverlay = document.getElementById('tagEditorOverlay'); +const tagFilename = document.getElementById('tagFilename'); const tagName = document.getElementById('tagName'); const tagArtist = document.getElementById('tagArtist'); const tagAlbum = document.getElementById('tagAlbum'); @@ -1321,6 +1323,7 @@ function openTagEditor() { if (idx < 0) { showStatus('No track selected.', 'error'); return; } const t = tracks[idx]; tagEditorOverlay.dataset.idx = idx; + tagFilename.value = t.filename || ''; tagName.value = t.name || ''; tagArtist.value = t.artist || ''; tagAlbum.value = t.album || '';