1
0
Fork 0
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:
David Simon 2023-09-05 18:08:43 -04:00
parent a0b7c4a654
commit 6576f1b47d

View file

@ -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';
}