aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Dto
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 /Emby.Server.Implementations/Dto
parenta90614d194314f8a4d6f097637836610ce8b6bbe (diff)
Use BaseItemKind where possible
Diffstat (limited to 'Emby.Server.Implementations/Dto')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index b91ff6408..a34bfdb75 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -470,7 +470,7 @@ namespace Emby.Server.Implementations.Dto
{
var parentAlbumIds = _libraryManager.GetItemIds(new InternalItemsQuery
{
- IncludeItemTypes = new[] { nameof(MusicAlbum) },
+ IncludeItemTypes = new[] { BaseItemKind.MusicAlbum },
Name = item.Album,
Limit = 1
});