diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-12-18 19:38:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 19:38:44 +0100 |
| commit | ce45b73c8b957a9ca885063982d85397f0bc9cc2 (patch) | |
| tree | 14caa96bc95742a38717fba329f71e20ad5775ae /Jellyfin.Api/Controllers/ItemUpdateController.cs | |
| parent | 660165cd2ff6288061a90c968381eb014ec3b7fd (diff) | |
| parent | 033cfa59c499e5adbb949b708f06e56bf8932401 (diff) | |
Merge pull request #10702 from crobibero/collection-type-lowercase
Convert CollectionType to use lowercase enum names
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemUpdateController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemUpdateController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemUpdateController.cs b/Jellyfin.Api/Controllers/ItemUpdateController.cs index 4e5ed60d5..9800248c6 100644 --- a/Jellyfin.Api/Controllers/ItemUpdateController.cs +++ b/Jellyfin.Api/Controllers/ItemUpdateController.cs @@ -171,7 +171,7 @@ public class ItemUpdateController : BaseJellyfinApiController info.ContentTypeOptions = GetContentTypeOptions(true).ToArray(); info.ContentType = configuredContentType; - if (inheritedContentType is null || inheritedContentType == CollectionType.TvShows) + if (inheritedContentType is null || inheritedContentType == CollectionType.tvshows) { info.ContentTypeOptions = info.ContentTypeOptions .Where(i => string.IsNullOrWhiteSpace(i.Value) |
