mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
progress bars on resumable items
This commit is contained in:
parent
75ff5c8f43
commit
fd54e02387
6 changed files with 117 additions and 25 deletions
|
@ -11,7 +11,7 @@
|
|||
IncludeItemTypes: "Movie",
|
||||
Limit: 7,
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
Fields: "PrimaryImageAspectRatio,DateCreated,UserData",
|
||||
Filters: "IsUnplayed"
|
||||
};
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
Filters: "IsResumable",
|
||||
Limit: 7,
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio"
|
||||
Fields: "PrimaryImageAspectRatio,DateCreated,UserData"
|
||||
};
|
||||
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||
|
@ -47,7 +47,8 @@
|
|||
|
||||
$('#resumableItems', page).html(LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
useAverageAspectRatio: true
|
||||
useAverageAspectRatio: true,
|
||||
showProgressBar: true
|
||||
}));
|
||||
|
||||
});
|
||||
|
@ -60,7 +61,7 @@
|
|||
IncludeItemTypes: "Trailer",
|
||||
Limit: 7,
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,DateCreated",
|
||||
Fields: "PrimaryImageAspectRatio,DateCreated,UserData",
|
||||
Filters: "IsUnplayed"
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue