Fix play all & shuffle not working on Person
This commit is contained in:
committed by
Bill Thornton
parent
b39360bf61
commit
4b36146b34
@@ -1882,6 +1882,15 @@ export class PlaybackManager {
|
||||
SortBy: options.shuffle ? 'Random' : 'SortName',
|
||||
MediaTypes: 'Video'
|
||||
}, queryOptions));
|
||||
case 'Person':
|
||||
return getItemsForPlayback(serverId, mergePlaybackQueries({
|
||||
PersonIds: firstItem.Id,
|
||||
ParentId: firstItem.ParentId,
|
||||
Filters: 'IsNotFolder',
|
||||
Recursive: true,
|
||||
SortBy: options.shuffle ? 'Random' : 'SortName',
|
||||
MediaTypes: 'Video'
|
||||
}, queryOptions));
|
||||
case 'Series':
|
||||
case 'Season':
|
||||
return getSeriesOrSeasonPlaybackPromise(firstItem, options, items);
|
||||
|
||||
Reference in New Issue
Block a user