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

@@ -61,8 +61,8 @@ namespace Emby.Server.Implementations.Library.Resolvers
// Must be an image file within a photo collection
var collectionType = args.CollectionType;
if (collectionType == CollectionType.Photos
|| (collectionType == CollectionType.HomeVideos && args.LibraryOptions.EnablePhotos))
if (collectionType == CollectionType.photos
|| (collectionType == CollectionType.homevideos && args.LibraryOptions.EnablePhotos))
{
if (IsImageFile(args.Path, _imageProcessor))
{