aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-23 10:48:47 +0900
committerGitHub <noreply@github.com>2020-02-23 10:48:47 +0900
commit6715450598e175efb3dc42d9448d2e421d854bdb (patch)
treefa0195e56ab13507776ff18e6e56a54ef81cb2d3 /Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs
parent804ca0543b1c746a751142edc6525d157da472c9 (diff)
parentadc9fc282cf94adbfb48b3680246105b55d24ff5 (diff)
Merge pull request #2427 from Bond-009/minor
Minor improvements
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs')
-rw-r--r--Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs b/Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs
index 4536b0aaa8..3ac837057a 100644
--- a/Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs
+++ b/Emby.Server.Implementations/Library/Resolvers/PhotoAlbumResolver.cs
@@ -63,13 +63,12 @@ namespace Emby.Server.Implementations.Library.Resolvers
{
if (!file.IsDirectory && PhotoResolver.IsImageFile(file.FullName, _imageProcessor))
{
- var libraryOptions = args.GetLibraryOptions();
var filename = file.Name;
var ownedByMedia = false;
foreach (var siblingFile in files)
{
- if (PhotoResolver.IsOwnedByMedia(_libraryManager, libraryOptions, siblingFile.FullName, filename))
+ if (PhotoResolver.IsOwnedByMedia(_libraryManager, siblingFile.FullName, filename))
{
ownedByMedia = true;
break;