diff options
| author | cvium <clausvium@gmail.com> | 2020-11-05 12:53:23 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2020-11-05 12:53:23 +0100 |
| commit | 6fdcd1205314653b4b7a454ac86134842e225356 (patch) | |
| tree | e8f1f5570291f4ad99b2b44c9c1b8e7e890b0479 /Jellyfin.Api/Controllers/GenresController.cs | |
| parent | 584b4fa41f4a19a7df2a78b408e3763ca0ff4027 (diff) | |
Fix build and clean up MusicGenres
Diffstat (limited to 'Jellyfin.Api/Controllers/GenresController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/GenresController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/GenresController.cs b/Jellyfin.Api/Controllers/GenresController.cs index a174d9239..4e47658b0 100644 --- a/Jellyfin.Api/Controllers/GenresController.cs +++ b/Jellyfin.Api/Controllers/GenresController.cs @@ -123,8 +123,8 @@ namespace Jellyfin.Api.Controllers QueryResult<(BaseItem, ItemCounts)> result; if (parentItem is ICollectionFolder parentCollectionFolder - && (string.Equals(parentCollectionFolder.CollectionType, CollectionType.Music) - || string.Equals(parentCollectionFolder.CollectionType, CollectionType.MusicVideos))) + && (string.Equals(parentCollectionFolder.CollectionType, CollectionType.Music, StringComparison.Ordinal) + || string.Equals(parentCollectionFolder.CollectionType, CollectionType.MusicVideos, StringComparison.Ordinal))) { result = _libraryManager.GetMusicGenres(query); } |
