add comment explaining a bug fix
This commit is contained in:
parent
db10f380d1
commit
e006b7f1e1
|
@ -1099,6 +1099,8 @@ namespace Emby.Server.Implementations.Dto
|
||||||
|
|
||||||
Series episodeSeries = null;
|
Series episodeSeries = null;
|
||||||
|
|
||||||
|
// this block will add the series poster for episodes without a poster
|
||||||
|
// TODO maybe remove the if statement entirely
|
||||||
//if (options.ContainsField(ItemFields.SeriesPrimaryImage))
|
//if (options.ContainsField(ItemFields.SeriesPrimaryImage))
|
||||||
{
|
{
|
||||||
episodeSeries = episodeSeries ?? episode.Series;
|
episodeSeries = episodeSeries ?? episode.Series;
|
||||||
|
@ -1143,6 +1145,8 @@ namespace Emby.Server.Implementations.Dto
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this block will add the series poster for seasons without a poster
|
||||||
|
// TODO maybe remove the if statement entirely
|
||||||
//if (options.ContainsField(ItemFields.SeriesPrimaryImage))
|
//if (options.ContainsField(ItemFields.SeriesPrimaryImage))
|
||||||
{
|
{
|
||||||
series = series ?? season.Series;
|
series = series ?? season.Series;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user