diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-05-05 19:22:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 19:22:01 +0200 |
| commit | 95b1cf532b577aa744d5301af4eeb78d08da3ba8 (patch) | |
| tree | 7b6b16295b106cecb37e853982b16f9b6dd3ce0d /Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs | |
| parent | a6ee4632ce618e60909aa4310e33d60dcdfc1aec (diff) | |
| parent | bcb4010db615b7c732856629553cba4e7ccc3358 (diff) | |
Merge pull request #5985 from Bond-009/minor11
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs b/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs index bcfcee9c6..3cb6542cf 100644 --- a/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs +++ b/Emby.Server.Implementations/Library/Resolvers/PhotoResolver.cs @@ -47,7 +47,7 @@ namespace Emby.Server.Implementations.Library.Resolvers var collectionType = args.CollectionType; if (string.Equals(collectionType, CollectionType.Photos, StringComparison.OrdinalIgnoreCase) - || (string.Equals(collectionType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase) && args.GetLibraryOptions().EnablePhotos)) + || (string.Equals(collectionType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase) && args.LibraryOptions.EnablePhotos)) { if (IsImageFile(args.Path, _imageProcessor)) { |
