mirror of
https://codeberg.org/armin/noiz.git
synced 2026-09-01 05:50:52 +02:00
Add filename to tag information
This commit is contained in:
parent
ab6e462146
commit
dece79f6d7
1 changed files with 3 additions and 0 deletions
|
|
@ -275,6 +275,7 @@ footer .footer-track { flex: 1; min-width: 0; white-space: nowrap; overflow: hid
|
|||
<div id="tagEditorModal">
|
||||
<h3>Edit Tags</h3>
|
||||
<div class="tag-editor-fields">
|
||||
<label>Filename <input type="text" id="tagFilename" readonly onfocus="this.select()"></label>
|
||||
<label>Name <input type="text" id="tagName"></label>
|
||||
<label>Artist <input type="text" id="tagArtist"></label>
|
||||
<label>Album <input type="text" id="tagAlbum"></label>
|
||||
|
|
@ -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 || '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue