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 /Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs | |
| parent | 0d5bbfda321f64ad78b5b74e7bdfbbbb8b64c7af (diff) | |
Convert CollectionType to use lowercase enum names
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs b/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs index d166ac37f..0934555b2 100644 --- a/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs +++ b/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs @@ -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)) { |
