|
|
|
@ -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,
|
|
|
|
|