diff options
| author | Jesús Higueras <jesus@dabbleam.com> | 2020-03-23 20:05:49 +0100 |
|---|---|---|
| committer | Vasily <just.one.man@yandex.ru> | 2020-05-18 23:21:37 +0300 |
| commit | b9fc0d26287e46017515e4ac3e569ca2c60f622f (patch) | |
| tree | 7168d3272a2ead08c2cb6171d1d2f9dc794df262 /MediaBrowser.Controller/Entities/ItemImageInfo.cs | |
| parent | 2d2c1d94733a1959f84c1cc26f8051d0be35cfb4 (diff) | |
Add BlurHash support to backend
Diffstat (limited to 'MediaBrowser.Controller/Entities/ItemImageInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/ItemImageInfo.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/ItemImageInfo.cs b/MediaBrowser.Controller/Entities/ItemImageInfo.cs index fc46dec2e..ba0297107 100644 --- a/MediaBrowser.Controller/Entities/ItemImageInfo.cs +++ b/MediaBrowser.Controller/Entities/ItemImageInfo.cs @@ -28,6 +28,12 @@ namespace MediaBrowser.Controller.Entities public int Height { get; set; } + /// <summary> + /// Gets or sets the blurhash. + /// </summary> + /// <value>The blurhash.</value> + public string Hash { get; set; } + [JsonIgnore] public bool IsLocalFile => Path == null || !Path.StartsWith("http", StringComparison.OrdinalIgnoreCase); } |
