Fix compilation after rebase

pull/2676/head
Vasily 4 years ago
parent fe480caf54
commit 02da312f8a

@ -1837,7 +1837,7 @@ namespace Emby.Server.Implementations.Library
.ForEach(x =>
{
string blurhash = ImageProcessor.GetImageHash(x.Path);
ImageDimensions size = ImageProcessor.GetImageDimensions(item, x, true);
ImageDimensions size = ImageProcessor.GetImageDimensions(item, x);
x.Width = size.Width;
x.Height = size.Height;
x.Hash = blurhash;

@ -336,7 +336,7 @@ namespace MediaBrowser.Api.Images
blurhash = _imageProcessor.GetImageHash(info.Path);
info.Hash = blurhash; // TODO: this doesn't seem like the right thing to do
ImageDimensions size = _imageProcessor.GetImageDimensions(item, info, true);
ImageDimensions size = _imageProcessor.GetImageDimensions(item, info);
_libraryManager.UpdateImages(item);
width = size.Width;
height = size.Height;

Loading…
Cancel
Save