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

update more from/similar

This commit is contained in:
Luke Pulverenti 2016-07-22 13:54:43 -04:00
parent cec6b66c27
commit 9272519d84

View file

@ -742,7 +742,7 @@
Recursive: true, Recursive: true,
ExcludeItemIds: item.Id ExcludeItemIds: item.Id
}).then(function(result) { }).then(function (result) {
if (!result.Items.length) { if (!result.Items.length) {
moreFromSection.classList.add('hide'); moreFromSection.classList.add('hide');
@ -803,6 +803,10 @@
fields: "PrimaryImageAspectRatio,UserData,SyncInfo,CanDelete" fields: "PrimaryImageAspectRatio,UserData,SyncInfo,CanDelete"
}; };
if (item.Type == 'MusicAlbum' && item.AlbumArtists && item.AlbumArtists.length) {
options.ExcludeArtistNames = item.AlbumArtists[0].Name;
}
if (enableScrollX()) { if (enableScrollX()) {
options.limit = 12; options.limit = 12;
} }