Convert string MediaType to enum MediaType

This commit is contained in:
Cody Robibero
2023-05-13 12:44:31 -06:00
parent 74f61fbd79
commit 2920611ffc
47 changed files with 159 additions and 133 deletions

View File

@@ -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) },