display album artist on song table
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.detailTableContainer {
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
max-width: 1100px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user