diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-12-08 15:45:36 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2023-12-08 15:45:36 -0700 |
| commit | 033cfa59c499e5adbb949b708f06e56bf8932401 (patch) | |
| tree | 81e33ebe860d5852bb48b1abb7436c9c4c30053e /Jellyfin.Api/Controllers/GenresController.cs | |
| parent | 0d5bbfda321f64ad78b5b74e7bdfbbbb8b64c7af (diff) | |
Convert CollectionType to use lowercase enum names
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 062e1062d..6cb1993e4 100644 --- a/Jellyfin.Api/Controllers/GenresController.cs +++ b/Jellyfin.Api/Controllers/GenresController.cs @@ -131,8 +131,8 @@ public class GenresController : BaseJellyfinApiController QueryResult<(BaseItem, ItemCounts)> result; if (parentItem is ICollectionFolder parentCollectionFolder - && (parentCollectionFolder.CollectionType == CollectionType.Music - || parentCollectionFolder.CollectionType == CollectionType.MusicVideos)) + && (parentCollectionFolder.CollectionType == CollectionType.music + || parentCollectionFolder.CollectionType == CollectionType.musicvideos)) { result = _libraryManager.GetMusicGenres(query); } |
