improve series recording images
This commit is contained in:
parent
9932db8400
commit
db7e78640a
|
@ -277,6 +277,13 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
||||||
{
|
{
|
||||||
var program = _libraryManager.GetItemList(new InternalItemsQuery
|
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 },
|
IncludeItemTypes = new string[] { typeof(LiveTvProgram).Name },
|
||||||
ExternalSeriesId = programSeriesId,
|
ExternalSeriesId = programSeriesId,
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.2.1.106")]
|
[assembly: AssemblyVersion("3.2.1.107")]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user