aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index 593e7be7d..77a734ebf 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -718,7 +718,7 @@ namespace Emby.Server.Implementations.Dto
if (options.EnableImages)
{
dto.ImageTags = new Dictionary<ImageType, string>();
- dto.ImageBlurHashes = new Dictionary<string, string>();
+ dto.ImageBlurHashes = new Dictionary<ImageType, string>();
// Prevent implicitly captured closure
var currentItem = item;
@@ -736,7 +736,7 @@ namespace Emby.Server.Implementations.Dto
var hash = image.BlurHash;
if (!string.IsNullOrEmpty(hash))
{
- dto.ImageBlurHashes[tag] = image.BlurHash;
+ dto.ImageBlurHashes[image.Type] = image.BlurHash;
}
}
}