Merge pull request #7155 from thornbill/edit-artist-album
Allow editing artists for music albums
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user