aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/BrowseRequest.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-11 19:31:30 -0700
committerCody Robibero <cody@robibe.ro>2021-12-12 06:11:27 -0700
commit32629cd7da0a39962009bffd9389a660c196f541 (patch)
treebaf7eb3aa25a9753848e73667ef71f97b9538b7b /MediaBrowser.Model/Session/BrowseRequest.cs
parenta90614d194314f8a4d6f097637836610ce8b6bbe (diff)
Use BaseItemKind where possible
Diffstat (limited to 'MediaBrowser.Model/Session/BrowseRequest.cs')
-rw-r--r--MediaBrowser.Model/Session/BrowseRequest.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Session/BrowseRequest.cs b/MediaBrowser.Model/Session/BrowseRequest.cs
index 65afe5cf34..5ad7d783a1 100644
--- a/MediaBrowser.Model/Session/BrowseRequest.cs
+++ b/MediaBrowser.Model/Session/BrowseRequest.cs
@@ -1,3 +1,5 @@
+using Jellyfin.Data.Enums;
+
#nullable disable
namespace MediaBrowser.Model.Session
{
@@ -8,10 +10,9 @@ namespace MediaBrowser.Model.Session
{
/// <summary>
/// Gets or sets the item type.
- /// Artist, Genre, Studio, Person, or any kind of BaseItem.
/// </summary>
/// <value>The type of the item.</value>
- public string ItemType { get; set; }
+ public BaseItemKind ItemType { get; set; }
/// <summary>
/// Gets or sets the item id.