1
0
Fork 0
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:
Luke Pulverenti 2013-07-22 19:59:28 -04:00
parent 89efba4124
commit 6802a45d77
2 changed files with 10 additions and 3 deletions

View file

@ -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:&nbsp;&nbsp;<a class="textlink" href="itembynamedetails.html?context=music&artist=' + ApiClient.encodeName(item.Artists[0]) + '">' + item.Artists[0] + '</a>').trigger('create');
} else {
$('#artist', page).hide();