mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01:00
Convert CollectionType to use lowercase enum names
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user