aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2020-11-02 11:10:39 -0500
committerGitHub <noreply@github.com>2020-11-02 11:10:39 -0500
commit6205fb4b6a1208fadd93ef1d43668657db531768 (patch)
tree8590affcc8a1510e1dd5658cc993c49cd5a7ac89 /Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
parentf23836c6a4fea1bfafd304aaaae030cd3789dd72 (diff)
parent5a9c218324bdd06073370c8ecfcb09a1fc7784b2 (diff)
Merge pull request #4341 from Bond-009/minor6
Minor improvements
Diffstat (limited to 'Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs')
-rw-r--r--Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
index d4c8c35e65..f9a3e2c64b 100644
--- a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
+++ b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs
@@ -81,7 +81,7 @@ namespace Emby.Server.Implementations.Library.Validators
var deadEntities = _libraryManager.GetItemList(new InternalItemsQuery
{
- IncludeItemTypes = new[] { typeof(MusicArtist).Name },
+ IncludeItemTypes = new[] { nameof(MusicArtist) },
IsDeadArtist = true,
IsLocked = false
}).Cast<MusicArtist>().ToList();