mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
Fix music video random playback
This commit is contained in:
@@ -1944,7 +1944,7 @@ export class PlaybackManager {
|
||||
} else if (firstItem.IsFolder && firstItem.CollectionType === 'musicvideos') {
|
||||
return getItemsForPlayback(serverId, mergePlaybackQueries({
|
||||
ParentId: firstItem.Id,
|
||||
Filters: 'IsFolder',
|
||||
Filters: 'IsNotFolder',
|
||||
Recursive: true,
|
||||
SortBy: options.shuffle ? 'Random' : 'SortName',
|
||||
MediaTypes: 'Video',
|
||||
|
||||
@@ -334,7 +334,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
||||
|
||||
if (sortBy === 'Random') {
|
||||
instance.queryRecursive = true;
|
||||
query.IncludeItemTypes = 'Video,Movie,Series,Music';
|
||||
query.IncludeItemTypes = 'Video,Movie,Series,Music,MusicVideo';
|
||||
query.Recursive = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user