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

add recording post processing option

This commit is contained in:
Luke Pulverenti 2016-11-22 14:45:55 -05:00
parent 6763740078
commit 75280f26ca
11 changed files with 99 additions and 42 deletions

View file

@ -1,4 +1,4 @@
define(['libraryBrowser', 'cardBuilder'], function (libraryBrowser, cardBuilder) {
define(['libraryBrowser', 'cardBuilder', 'apphost'], function (libraryBrowser, cardBuilder, appHost) {
'use strict';
return function (view, params, tabContent) {
@ -20,7 +20,7 @@
Fields: "DateCreated,ItemCounts",
StartIndex: 0
},
view: libraryBrowser.getSavedView(key) || 'PosterCard'
view: libraryBrowser.getSavedView(key) || (appHost.preferVisualCards ? 'PosterCard' : 'Poster')
};
pageData.query.ParentId = params.topParentId;