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:
parent
e6bb8d236f
commit
2b8e52c34d
2 changed files with 15 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue