fix missing image on seasons without posters

This commit is contained in:
dkanada 2019-10-06 00:58:27 +09:00
parent 7203f463f4
commit db10f380d1

View File

@ -1099,7 +1099,7 @@ namespace Emby.Server.Implementations.Dto
Series episodeSeries = null; Series episodeSeries = null;
if (options.ContainsField(ItemFields.SeriesPrimaryImage)) //if (options.ContainsField(ItemFields.SeriesPrimaryImage))
{ {
episodeSeries = episodeSeries ?? episode.Series; episodeSeries = episodeSeries ?? episode.Series;
if (episodeSeries != null) if (episodeSeries != null)
@ -1143,7 +1143,7 @@ namespace Emby.Server.Implementations.Dto
} }
} }
if (options.ContainsField(ItemFields.SeriesPrimaryImage)) //if (options.ContainsField(ItemFields.SeriesPrimaryImage))
{ {
series = series ?? season.Series; series = series ?? season.Series;
if (series != null) if (series != null)