Merge pull request #6860 from theguymadmax/fix-studios

Fix play all & shuffle for studios
This commit is contained in:
Bill Thornton
2025-07-09 13:07:21 -04:00
committed by GitHub

View File

@@ -1874,6 +1874,14 @@ export class PlaybackManager {
SortBy: options.shuffle ? 'Random' : 'SortName',
MediaTypes: 'Video'
}, queryOptions));
case 'Studio':
return getItemsForPlayback(serverId, mergePlaybackQueries({
StudioIds: firstItem.Id,
Filters: 'IsNotFolder',
Recursive: true,
SortBy: options.shuffle ? 'Random' : 'SortName',
MediaTypes: 'Video'
}, queryOptions));
case 'Series':
case 'Season':
return getSeriesOrSeasonPlaybackPromise(firstItem, options, items);