aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-11 16:40:25 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-11 16:40:25 -0400
commit65e8cf0726e17c00ff7882c1f31f64211c3a59c5 (patch)
treea05dc6b5ca0c165214adff09a3c0d8a30f11e7f6 /Emby.Server.Implementations/LiveTv/LiveTvManager.cs
parente56ef95283ce3d4ccacd0f65f45e26086da186d2 (diff)
improve live tv images
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/LiveTvManager.cs')
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvManager.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
index c2f0575604..44a9bd1f56 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -694,6 +694,20 @@ namespace Emby.Server.Implementations.LiveTv
}
}
+ if (!item.HasImage(ImageType.Thumb))
+ {
+ if (!string.IsNullOrWhiteSpace(info.ThumbImageUrl))
+ {
+ item.SetImage(new ItemImageInfo
+ {
+ Path = info.ImageUrl,
+ Type = ImageType.Thumb,
+ IsPlaceholder = true
+
+ }, 0);
+ }
+ }
+
var isUpdated = false;
if (isNew)
{