|
|
|
@ -34,8 +34,9 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers
|
|
|
|
|
// Must be an image file within a photo collection
|
|
|
|
|
var collectionType = args.GetCollectionType();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (string.Equals(collectionType, CollectionType.Photos, StringComparison.OrdinalIgnoreCase) ||
|
|
|
|
|
string.Equals(collectionType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
(string.Equals(collectionType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase) && args.GetLibraryOptions().EnablePhotos))
|
|
|
|
|
{
|
|
|
|
|
if (IsImageFile(args.Path, _imageProcessor))
|
|
|
|
|
{
|
|
|
|
|