diff --git a/htdocs/js/mympd.js b/htdocs/js/mympd.js index 26e583f..7b89c2e 100644 --- a/htdocs/js/mympd.js +++ b/htdocs/js/mympd.js @@ -2394,12 +2394,15 @@ function selectTag(btnsEl, desc, setTo) { function addTagList(x, any) { var tagList = ''; + var tagBlacklist = ["Title", "MUSICBRAINZ_TRACKID", "Count", "Disc", "Comment", "Name"]; if (any == true) tagList += ''; for (var i = 0; i < settings.tags.length; i++) { - if (settings.tags[i] != 'Track') { - tagList += ''; - } + if (settings.tags[i] == 'Track') + continue; + if (any == false && tagBlacklist.indexOf(settings.tags[i]) > -1) + continue; + tagList += ''; } var tagListEl = document.getElementById(x); tagListEl.innerHTML = tagList;