mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add trickplay functionality
This commit is contained in:
parent
675a59adc4
commit
8045b95d93
16 changed files with 335 additions and 8 deletions
|
@ -84,7 +84,7 @@ export function getItemsForPlayback(apiClient, query) {
|
|||
});
|
||||
} else {
|
||||
query.Limit = query.Limit || 300;
|
||||
query.Fields = 'Chapters';
|
||||
query.Fields = ['Chapters', 'Trickplay'];
|
||||
query.ExcludeLocationTypes = 'Virtual';
|
||||
query.EnableTotalRecordCount = false;
|
||||
query.CollapseBoxSetItems = false;
|
||||
|
@ -200,7 +200,7 @@ export function translateItemsForPlayback(apiClient, items, options) {
|
|||
IsVirtualUnaired: false,
|
||||
IsMissing: false,
|
||||
UserId: apiClient.getCurrentUserId(),
|
||||
Fields: 'Chapters'
|
||||
Fields: ['Chapters', 'Trickplay']
|
||||
}).then(function (episodesResult) {
|
||||
let foundItem = false;
|
||||
episodesResult.Items = episodesResult.Items.filter(function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue