suggestions from review

This commit is contained in:
Cody Robibero
2022-01-10 10:59:32 -07:00
parent 6520ad03f0
commit 0d335082c8
4 changed files with 4 additions and 12 deletions

View File

@@ -69,9 +69,9 @@ public class SplashscreenPostScanTask : ILibraryPostScanTask
Limit = 30,
// TODO max parental rating configurable
MaxParentalRating = 10,
OrderBy = new ValueTuple<string, SortOrder>[]
OrderBy = new[]
{
new(ItemSortBy.Random, SortOrder.Ascending)
(ItemSortBy.Random, SortOrder.Ascending)
},
IncludeItemTypes = new[] { BaseItemKind.Movie, BaseItemKind.Series }
});