mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed themoviedb search returning no results
This commit is contained in:
parent
e9a747ed77
commit
0b736d68b5
7 changed files with 33 additions and 44 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
$(document).on('pagebeforeshow', "#musicRecommendedPage", function () {
|
||||
|
||||
var screenWidth = $(window).width();
|
||||
|
||||
var page = this;
|
||||
|
||||
var options = {
|
||||
|
@ -9,7 +11,7 @@
|
|||
SortBy: "DateCreated",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "MusicAlbum",
|
||||
Limit: 5,
|
||||
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 6 : 5),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio"
|
||||
};
|
||||
|
@ -32,7 +34,7 @@
|
|||
SortBy: "DateCreated",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: 5,
|
||||
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 6 : 5),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo"
|
||||
};
|
||||
|
@ -55,7 +57,7 @@
|
|||
SortBy: "DatePlayed",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: 5,
|
||||
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 6 : 5),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed"
|
||||
|
@ -85,7 +87,7 @@
|
|||
SortBy: "PlayCount",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: 10,
|
||||
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 12 : 10),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue