aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/MusicManager.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-09-04 15:34:53 -0400
committerGitHub <noreply@github.com>2017-09-04 15:34:53 -0400
commit637795aaf5e203d3a5a98cf9caa742663d0ee14e (patch)
tree732342d058b10e49a73fe6863bc722bde56806d0 /Emby.Server.Implementations/Library/MusicManager.cs
parent9cf5cd1e5b504619875be6c5b9e4d76a990686e7 (diff)
parent3b318a3add352a72b6b0430300fddbf61edac216 (diff)
Merge pull request #2864 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Library/MusicManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/MusicManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/MusicManager.cs b/Emby.Server.Implementations/Library/MusicManager.cs
index 7f77170ad..1cbf4235a 100644
--- a/Emby.Server.Implementations/Library/MusicManager.cs
+++ b/Emby.Server.Implementations/Library/MusicManager.cs
@@ -6,6 +6,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using MediaBrowser.Controller.Dto;
+using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Library
@@ -88,7 +89,7 @@ namespace Emby.Server.Implementations.Library
Limit = 200,
- SortBy = new[] { ItemSortBy.Random },
+ OrderBy = new [] { new Tuple<string, SortOrder>(ItemSortBy.Random, SortOrder.Ascending) },
DtoOptions = dtoOptions