mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix trickplay/chapter when play from list/shuffle
This commit is contained in:
parent
7e4320b7ee
commit
8327a8fe95
2 changed files with 3 additions and 3 deletions
|
@ -255,7 +255,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
||||||
if (params.type === 'nextup') {
|
if (params.type === 'nextup') {
|
||||||
return apiClient.getNextUpEpisodes(modifyQueryWithFilters(instance, {
|
return apiClient.getNextUpEpisodes(modifyQueryWithFilters(instance, {
|
||||||
Limit: limit,
|
Limit: limit,
|
||||||
Fields: 'PrimaryImageAspectRatio,DateCreated,MediaSourceCount',
|
Fields: 'PrimaryImageAspectRatio,DateCreated,MediaSourceCount,Chapters,Trickplay',
|
||||||
UserId: apiClient.getCurrentUserId(),
|
UserId: apiClient.getCurrentUserId(),
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: 'Primary,Backdrop,Thumb',
|
EnableImageTypes: 'Primary,Backdrop,Thumb',
|
||||||
|
@ -278,7 +278,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
||||||
return apiClient[method](apiClient.getCurrentUserId(), modifyQueryWithFilters(instance, {
|
return apiClient[method](apiClient.getCurrentUserId(), modifyQueryWithFilters(instance, {
|
||||||
StartIndex: startIndex,
|
StartIndex: startIndex,
|
||||||
Limit: limit,
|
Limit: limit,
|
||||||
Fields: 'PrimaryImageAspectRatio,SortName',
|
Fields: 'PrimaryImageAspectRatio,SortName,Chapters,Trickplay',
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
IncludeItemTypes: params.type === 'MusicArtist' || params.type === 'Person' ? null : params.type,
|
IncludeItemTypes: params.type === 'MusicArtist' || params.type === 'Person' ? null : params.type,
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
|
|
|
@ -277,7 +277,7 @@ export default function (view, params, tabContent, options) {
|
||||||
SortOrder: 'Ascending',
|
SortOrder: 'Ascending',
|
||||||
IncludeItemTypes: 'Movie',
|
IncludeItemTypes: 'Movie',
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'PrimaryImageAspectRatio,MediaSourceCount',
|
Fields: 'PrimaryImageAspectRatio,MediaSourceCount,Chapters,Trickplay',
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue