mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update playlist content
This commit is contained in:
parent
a511a2fa84
commit
d08286c538
24 changed files with 1115 additions and 156 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['datetime', 'cardBuilder', 'imageLoader', 'paper-icon-button-light', 'emby-button'], function (datetime, cardBuilder, imageLoader) {
|
||||
define(['datetime', 'cardBuilder', 'imageLoader', 'apphost', 'paper-icon-button-light', 'emby-button'], function (datetime, cardBuilder, imageLoader, appHost) {
|
||||
|
||||
var query = {
|
||||
|
||||
|
@ -10,17 +10,22 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
var supportsImageAnalysis = appHost.supports('imageanalysis');
|
||||
var cardLayout = appHost.preferVisualCards || supportsImageAnalysis;
|
||||
|
||||
html += cardBuilder.getCardsHtml({
|
||||
items: timers,
|
||||
shape: 'backdrop',
|
||||
showTitle: true,
|
||||
cardLayout: true,
|
||||
vibrant: true,
|
||||
cardLayout: cardLayout,
|
||||
vibrant: supportsImageAnalysis,
|
||||
preferThumb: true,
|
||||
coverImage: true,
|
||||
overlayText: false,
|
||||
showSeriesTimerTime: true,
|
||||
showSeriesTimerChannel: true
|
||||
showSeriesTimerChannel: true,
|
||||
centerText: !cardLayout,
|
||||
overlayMoreButton: !cardLayout
|
||||
});
|
||||
|
||||
var elem = context.querySelector('#items');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue