mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add soundtracks to theme media result
This commit is contained in:
parent
068f3e401e
commit
0d42ff8792
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
MediaTypes: "Game",
|
MediaTypes: "Game",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "Genres,Studios,PrimaryImageAspectRatio",
|
Fields: "Genres,Studios",
|
||||||
StartIndex: 0
|
StartIndex: 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -651,14 +651,14 @@
|
||||||
|
|
||||||
options.shape = options.shape || "portrait";
|
options.shape = options.shape || "portrait";
|
||||||
|
|
||||||
var primaryImageAspectRatio = options.useAverageAspectRatio ? LibraryBrowser.getAveragePrimaryImageAspectRatio(items) : null;
|
|
||||||
|
|
||||||
var html = "";
|
var html = "";
|
||||||
|
|
||||||
for (var i = 0, length = items.length; i < length; i++) {
|
for (var i = 0, length = items.length; i < length; i++) {
|
||||||
|
|
||||||
var item = items[i];
|
var item = items[i];
|
||||||
|
|
||||||
|
var primaryImageAspectRatio = options.useAverageAspectRatio ? LibraryBrowser.getAveragePrimaryImageAspectRatio([item]) : null;
|
||||||
|
|
||||||
var futureDateText;
|
var futureDateText;
|
||||||
|
|
||||||
if (item.PremiereDate) {
|
if (item.PremiereDate) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue