mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add api key functions
This commit is contained in:
parent
5f578574d7
commit
42de7388d0
18 changed files with 288 additions and 108 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
var options = {
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
|
||||
Limit: screenWidth >= 1920 ? 15 : (screenWidth >= 1200 ? 10 : 12),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
ParentId: parentId
|
||||
};
|
||||
|
@ -34,7 +34,7 @@
|
|||
SortBy: "DatePlayed",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 7 : 6),
|
||||
Limit: screenWidth >= 1920 ? 5 : (screenWidth >= 1200 ? 5 : 6),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed",
|
||||
|
@ -64,7 +64,7 @@
|
|||
SortBy: "PlayCount",
|
||||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Audio",
|
||||
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
|
||||
Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1200 ? 10 : 12),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||
Filters: "IsPlayed",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue