aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-11-12 12:17:46 +0100
committerGitHub <noreply@github.com>2023-11-12 12:17:46 +0100
commit4288106acdcd36d6d18c9f1be884f791e4e5170b (patch)
tree686c1c708f189663b86d92c512dc0bcfd8b1aadc /Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs
parent88873b6e9eedd1b600bd17c56ee66109d2ef566d (diff)
parent453c65d6193ff9745d03e043725fd67712aaec62 (diff)
Merge pull request #9762 from crobibero/media-type
Convert string MediaType to enum MediaType
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs')
-rw-r--r--Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs b/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs
index df45793c3..89f64ee4f 100644
--- a/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs
+++ b/Emby.Server.Implementations/Library/Validators/CollectionPostScanTask.cs
@@ -63,7 +63,7 @@ namespace Emby.Server.Implementations.Library.Validators
{
var movies = _libraryManager.GetItemList(new InternalItemsQuery
{
- MediaTypes = new string[] { MediaType.Video },
+ MediaTypes = new[] { MediaType.Video },
IncludeItemTypes = new[] { BaseItemKind.Movie },
IsVirtualItem = false,
OrderBy = new[] { (ItemSortBy.SortName, SortOrder.Ascending) },