mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support artists tag value
This commit is contained in:
parent
19374a0bb2
commit
a5288c2eaf
3 changed files with 12 additions and 7 deletions
|
@ -123,7 +123,9 @@
|
|||
|
||||
Limit: 24,
|
||||
Fields: "PrimaryImageAspectRatio,SyncInfo",
|
||||
IsPlayed: false
|
||||
IsPlayed: false,
|
||||
ImageTypeLimit: 1,
|
||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
||||
};
|
||||
|
||||
return ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||
|
@ -233,7 +235,8 @@
|
|||
|
||||
ApiClient.getItems(userId, {
|
||||
|
||||
SortBy: "SortName"
|
||||
SortBy: "SortName",
|
||||
ImageTypeLimit: 1
|
||||
|
||||
}).done(function (result) {
|
||||
|
||||
|
@ -279,7 +282,9 @@
|
|||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,SyncInfo",
|
||||
CollapseBoxSetItems: false,
|
||||
ExcludeLocationTypes: "Virtual"
|
||||
ExcludeLocationTypes: "Virtual",
|
||||
ImageTypeLimit: 1,
|
||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
||||
};
|
||||
|
||||
ApiClient.getItems(userId, options).done(function (result) {
|
||||
|
|
|
@ -339,11 +339,11 @@
|
|||
renderCast(page, item, context, 6);
|
||||
}
|
||||
|
||||
if (!item.PartCount || item.PartCount < 2) {
|
||||
$('#additionalPartsCollapsible', page).addClass('hide');
|
||||
} else {
|
||||
if (item.PartCount && item.PartCount > 1) {
|
||||
$('#additionalPartsCollapsible', page).removeClass('hide');
|
||||
renderAdditionalParts(page, item, user);
|
||||
} else {
|
||||
$('#additionalPartsCollapsible', page).addClass('hide');
|
||||
}
|
||||
|
||||
$('#themeSongsCollapsible', page).hide();
|
||||
|
|
|
@ -601,7 +601,7 @@
|
|||
if (item.Type == 'Episode') return '';
|
||||
|
||||
// SortName
|
||||
name = (item.SortName || item.Name)[0].toUpperCase();
|
||||
name = (item.SortName || item.Name || '?')[0].toUpperCase();
|
||||
|
||||
code = name.charCodeAt(0);
|
||||
if (code < 65 || code > 90) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue