mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Prefer unplayed items when shuffling a folder
This commit is contained in:
parent
a0b7c4a654
commit
6576f1b47d
1 changed files with 1 additions and 1 deletions
|
@ -1884,7 +1884,7 @@ class PlaybackManager {
|
|||
} else if (firstItem.IsFolder) {
|
||||
let sortBy = null;
|
||||
if (options.shuffle) {
|
||||
sortBy = 'Random';
|
||||
sortBy = 'IsPlayed,Random';
|
||||
} else if (firstItem.Type !== 'BoxSet') {
|
||||
sortBy = 'SortName';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue