Convert CollectionType to use lowercase enum names
This commit is contained in:
@@ -46,8 +46,8 @@ namespace Emby.Server.Implementations.Library.Resolvers
|
||||
// Must be an image file within a photo collection
|
||||
var collectionType = args.GetCollectionType();
|
||||
|
||||
if (collectionType == CollectionType.Photos
|
||||
|| (collectionType == CollectionType.HomeVideos && args.LibraryOptions.EnablePhotos))
|
||||
if (collectionType == CollectionType.photos
|
||||
|| (collectionType == CollectionType.homevideos && args.LibraryOptions.EnablePhotos))
|
||||
{
|
||||
if (HasPhotos(args))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user