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:
parent
cec6b66c27
commit
9272519d84
1 changed files with 8 additions and 4 deletions
|
@ -742,7 +742,7 @@
|
|||
Recursive: true,
|
||||
ExcludeItemIds: item.Id
|
||||
|
||||
}).then(function(result) {
|
||||
}).then(function (result) {
|
||||
|
||||
if (!result.Items.length) {
|
||||
moreFromSection.classList.add('hide');
|
||||
|
@ -803,6 +803,10 @@
|
|||
fields: "PrimaryImageAspectRatio,UserData,SyncInfo,CanDelete"
|
||||
};
|
||||
|
||||
if (item.Type == 'MusicAlbum' && item.AlbumArtists && item.AlbumArtists.length) {
|
||||
options.ExcludeArtistNames = item.AlbumArtists[0].Name;
|
||||
}
|
||||
|
||||
if (enableScrollX()) {
|
||||
options.limit = 12;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue