aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-02-15 16:19:25 -0500
committerGitHub <noreply@github.com>2017-02-15 16:19:25 -0500
commitd14253249dd048b8e31b92dee71fd4932a61878c (patch)
tree9d0a823f75482e02bf093e4cc6e68a026df2ad91 /Emby.Server.Implementations
parentf1f910252c999ea407dd0ebe6142f349a31b0c23 (diff)
parentdb7e78640ae94622cd8feb9f84b35e9f85f18c82 (diff)
Merge pull request #2472 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs
index e73378dde..43b055098 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs
@@ -278,6 +278,13 @@ namespace Emby.Server.Implementations.LiveTv
{
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,
Limit = 1,