aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Photos
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-26 02:48:54 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-26 02:48:54 -0400
commit33014f77aaacb91cfbd820052f1a49af66a214e3 (patch)
tree97e5d61917219563013a7487f449e77c00492d3f /Emby.Server.Implementations/Photos
parentd21e8d3c3361a9d4f17c8bef8bc4245f1c8ce968 (diff)
update GetItems method
Diffstat (limited to 'Emby.Server.Implementations/Photos')
-rw-r--r--Emby.Server.Implementations/Photos/PhotoAlbumImageProvider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Photos/PhotoAlbumImageProvider.cs b/Emby.Server.Implementations/Photos/PhotoAlbumImageProvider.cs
index c425a761ab..0744fc0d9d 100644
--- a/Emby.Server.Implementations/Photos/PhotoAlbumImageProvider.cs
+++ b/Emby.Server.Implementations/Photos/PhotoAlbumImageProvider.cs
@@ -18,12 +18,12 @@ namespace Emby.Server.Implementations.Photos
{
}
- protected override Task<List<BaseItem>> GetItemsWithImages(IHasImages item)
+ protected override List<BaseItem> GetItemsWithImages(IHasImages item)
{
var photoAlbum = (PhotoAlbum)item;
var items = GetFinalItems(photoAlbum.Children.ToList());
- return Task.FromResult(items);
+ return items;
}
protected string CreateImage(IHasImages item, List<BaseItem> itemsWithImages, string outputPathWithoutExtension, ImageType imageType, int imageIndex)