mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add chapter image error handling
This commit is contained in:
parent
638fe11131
commit
3a5dad0e64
14 changed files with 123 additions and 190 deletions
|
@ -24,7 +24,8 @@
|
|||
limit: getLimit() * 2,
|
||||
ImageTypeLimit: 1,
|
||||
EnableImageTypes: "Primary",
|
||||
EnableTotalRecordCount: false
|
||||
EnableTotalRecordCount: false,
|
||||
Fields: "ChannelInfo"
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
|
@ -47,7 +48,8 @@
|
|||
IsSports: false,
|
||||
IsKids: false,
|
||||
IsSeries: true,
|
||||
EnableTotalRecordCount: false
|
||||
EnableTotalRecordCount: false,
|
||||
Fields: "ChannelInfo"
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
|
@ -61,7 +63,8 @@
|
|||
HasAired: false,
|
||||
limit: getLimit(),
|
||||
IsMovie: true,
|
||||
EnableTotalRecordCount: false
|
||||
EnableTotalRecordCount: false,
|
||||
Fields: "ChannelInfo"
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
|
@ -75,7 +78,8 @@
|
|||
HasAired: false,
|
||||
limit: getLimit(),
|
||||
IsSports: true,
|
||||
EnableTotalRecordCount: false
|
||||
EnableTotalRecordCount: false,
|
||||
Fields: "ChannelInfo"
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
|
@ -89,7 +93,8 @@
|
|||
HasAired: false,
|
||||
limit: getLimit(),
|
||||
IsKids: true,
|
||||
EnableTotalRecordCount: false
|
||||
EnableTotalRecordCount: false,
|
||||
Fields: "ChannelInfo"
|
||||
|
||||
}).then(function (result) {
|
||||
|
||||
|
@ -101,6 +106,7 @@
|
|||
|
||||
var html = cardBuilder.getCardsHtml({
|
||||
items: items,
|
||||
preferThumb: !shape,
|
||||
shape: shape || (enableScrollX() ? 'overflowBackdrop' : 'backdrop'),
|
||||
showTitle: true,
|
||||
centerText: true,
|
||||
|
@ -111,6 +117,7 @@
|
|||
overlayPlayButton: overlayButton == 'play',
|
||||
allowBottomPadding: !enableScrollX(),
|
||||
showProgramAirInfo: true
|
||||
//cardFooterAside: 'logo'
|
||||
});
|
||||
|
||||
var elem = page.querySelector('.' + sectionClass);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue