Convert CollectionType to use lowercase enum names

This commit is contained in:
Cody Robibero
2023-12-08 15:45:36 -07:00
parent 0d5bbfda32
commit 033cfa59c4
26 changed files with 148 additions and 147 deletions

View File

@@ -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)