mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
web client re-org
This commit is contained in:
parent
ea285c28ef
commit
d5780727eb
81 changed files with 571 additions and 550 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
$(document).on('pagebeforeshow', "#gamesRecommendedPage", function () {
|
||||
|
||||
var parentId = LibraryMenu.getTopParentId();
|
||||
|
||||
var page = this;
|
||||
|
||||
var options = {
|
||||
|
@ -11,7 +13,8 @@
|
|||
MediaTypes: "Game",
|
||||
Limit: 10,
|
||||
Recursive: true,
|
||||
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio"
|
||||
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio",
|
||||
ParentId: parentId
|
||||
};
|
||||
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||
|
@ -32,7 +35,8 @@
|
|||
Limit: 10,
|
||||
Recursive: true,
|
||||
Filters: "IsPlayed",
|
||||
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio"
|
||||
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio",
|
||||
ParentId: parentId
|
||||
};
|
||||
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue