aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/InternalItemsQuery.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 /MediaBrowser.Controller/Entities/InternalItemsQuery.cs
parent88873b6e9eedd1b600bd17c56ee66109d2ef566d (diff)
parent453c65d6193ff9745d03e043725fd67712aaec62 (diff)
Merge pull request #9762 from crobibero/media-type
Convert string MediaType to enum MediaType
Diffstat (limited to 'MediaBrowser.Controller/Entities/InternalItemsQuery.cs')
-rw-r--r--MediaBrowser.Controller/Entities/InternalItemsQuery.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
index c0bba60eb..555dd050c 100644
--- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
+++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
@@ -36,7 +36,7 @@ namespace MediaBrowser.Controller.Entities
ImageTypes = Array.Empty<ImageType>();
IncludeItemTypes = Array.Empty<BaseItemKind>();
ItemIds = Array.Empty<Guid>();
- MediaTypes = Array.Empty<string>();
+ MediaTypes = Array.Empty<MediaType>();
MinSimilarityScore = 20;
OfficialRatings = Array.Empty<string>();
OrderBy = Array.Empty<(ItemSortBy, SortOrder)>();
@@ -86,7 +86,7 @@ namespace MediaBrowser.Controller.Entities
public bool? IncludeItemsByName { get; set; }
- public string[] MediaTypes { get; set; }
+ public MediaType[] MediaTypes { get; set; }
public BaseItemKind[] IncludeItemTypes { get; set; }