aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Playlists
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-10-20 16:08:40 +0200
committerBond_009 <bond.009@outlook.com>2019-10-20 16:08:40 +0200
commitbbc08753878b7b8a37ed876385d2e6864349d00d (patch)
treef983b32a0f58c410c28969ffcce599153dc4bd81 /MediaBrowser.Controller/Playlists
parente3f1f62a8bb5377c80e3c26331915db7e0fe2fa4 (diff)
Don't shuffle some types by default
Diffstat (limited to 'MediaBrowser.Controller/Playlists')
-rw-r--r--MediaBrowser.Controller/Playlists/Playlist.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Playlists/Playlist.cs b/MediaBrowser.Controller/Playlists/Playlist.cs
index aff687f88..bef7eff06 100644
--- a/MediaBrowser.Controller/Playlists/Playlist.cs
+++ b/MediaBrowser.Controller/Playlists/Playlist.cs
@@ -181,7 +181,7 @@ namespace MediaBrowser.Controller.Playlists
{
Recursive = true,
IsFolder = false,
- OrderBy = new[] { ItemSortBy.SortName }.Select(i => new ValueTuple<string, SortOrder>(i, SortOrder.Ascending)).ToArray(),
+ OrderBy = new[] { (ItemSortBy.SortName, SortOrder.Ascending) },
MediaTypes = new[] { mediaType },
EnableTotalRecordCount = false,
DtoOptions = options