aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-12-15 08:28:44 +0100
committerGitHub <noreply@github.com>2021-12-15 08:28:44 +0100
commit4c9bd905c6ecbcf77ab644d3d936d17b1bb8e967 (patch)
treea2a2d1e7a6c591eee190342a172a8b9d7d51a802 /Emby.Server.Implementations/Library/Validators/StudiosValidator.cs
parentec9cff29dfa0c0b08f4181b753eadab34cb05e3c (diff)
parent87439665d782a7a0f24d4015d53d584e66e40c2f (diff)
Merge pull request #6979 from crobibero/baseitemkind
Use BaseItemKind where possible
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/StudiosValidator.cs')
-rw-r--r--Emby.Server.Implementations/Library/Validators/StudiosValidator.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs b/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs
index 8577d722e..26bc49c1f 100644
--- a/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs
+++ b/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs
@@ -2,6 +2,7 @@ using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
+using Jellyfin.Data.Enums;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Persistence;
@@ -80,7 +81,7 @@ namespace Emby.Server.Implementations.Library.Validators
var deadEntities = _libraryManager.GetItemList(new InternalItemsQuery
{
- IncludeItemTypes = new[] { nameof(Studio) },
+ IncludeItemTypes = new[] { BaseItemKind.Studio },
IsDeadStudio = true,
IsLocked = false
});