mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add header links for music videos
This commit is contained in:
parent
89efba4124
commit
6802a45d77
2 changed files with 10 additions and 3 deletions
|
@ -226,7 +226,7 @@
|
|||
$('#players', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Audio" && item.Artists && item.Artists.length) {
|
||||
if ((item.Type == "Audio" || item.Type == "MusicVideo") && item.Artists && item.Artists.length) {
|
||||
$('#artist', page).show().html('Artist: <a class="textlink" href="itembynamedetails.html?context=music&artist=' + ApiClient.encodeName(item.Artists[0]) + '">' + item.Artists[0] + '</a>').trigger('create');
|
||||
} else {
|
||||
$('#artist', page).hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue