From db7e78640ae94622cd8feb9f84b35e9f85f18c82 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 15 Feb 2017 16:19:07 -0500 Subject: [PATCH] improve series recording images --- Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs | 7 +++++++ SharedVersion.cs | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs index e73378ddeb..43b055098a 100644 --- a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs +++ b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs @@ -277,6 +277,13 @@ namespace Emby.Server.Implementations.LiveTv if (!string.IsNullOrWhiteSpace(programSeriesId)) { var program = _libraryManager.GetItemList(new InternalItemsQuery + { + IncludeItemTypes = new string[] { typeof(Series).Name }, + Name = seriesName, + Limit = 1, + ImageTypes = new ImageType[] { ImageType.Primary } + + }).FirstOrDefault() ?? _libraryManager.GetItemList(new InternalItemsQuery { IncludeItemTypes = new string[] { typeof(LiveTvProgram).Name }, ExternalSeriesId = programSeriesId, diff --git a/SharedVersion.cs b/SharedVersion.cs index 0f38b8ab21..bf8993ed65 100644 --- a/SharedVersion.cs +++ b/SharedVersion.cs @@ -1,3 +1,3 @@ using System.Reflection; -[assembly: AssemblyVersion("3.2.1.106")] +[assembly: AssemblyVersion("3.2.1.107")]