1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

display album artist on song table

This commit is contained in:
Luke Pulverenti 2013-09-06 01:13:15 -04:00
parent e6bb8d236f
commit 2b8e52c34d
2 changed files with 15 additions and 1 deletions

View file

@ -256,6 +256,9 @@
if (options.showAlbum) {
html += '<th>Album</th>';
}
if (options.showArtist) {
html += '<th>Album Artist</th>';
}
if (options.showArtist) {
html += '<th>Artist</th>';
}
@ -291,6 +294,17 @@
}
}
if (options.showArtist) {
if (item.AlbumArtist) {
html += '<td><a href="itembynamedetails.html?context=music&artist=' + ApiClient.encodeName(item.AlbumArtist) + '">' + item.AlbumArtist + '</a></td>';
} else {
html += '<td></td>';
}
}
if (options.showArtist) {
if (item.Artists && item.Artists.length) {