Merge pull request #7155 from thornbill/edit-artist-album

Allow editing artists for music albums
This commit is contained in:
Bill Thornton
2025-09-30 01:17:52 -04:00
committed by GitHub

View File

@@ -589,17 +589,17 @@ function setFieldVisibilities(context, item) {
hideElement('#fld3dFormat', context);
}
if (item.Type === 'Audio') {
if (item.Type === BaseItemKind.Audio || item.Type === BaseItemKind.MusicAlbum || item.Type === BaseItemKind.MusicVideo) {
showElement('#fldArtist', context);
showElement('#fldAlbumArtist', context);
} else {
hideElement('#fldArtist', context);
hideElement('#fldAlbumArtist', context);
}
if (item.Type === 'Audio' || item.Type === 'MusicVideo') {
showElement('#fldArtist', context);
if (item.Type === BaseItemKind.Audio || item.Type === BaseItemKind.MusicVideo) {
showElement('#fldAlbum', context);
} else {
hideElement('#fldArtist', context);
hideElement('#fldAlbum', context);
}