Fix compilation after rebase

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

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

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

Loading…
Cancel
Save