aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-10-06 01:24:04 +0900
committerdkanada <dkanada@users.noreply.github.com>2019-10-06 01:24:04 +0900
commite006b7f1e1e311f5c4b16b2b954bbc00c6aa2b8e (patch)
tree033d2236ec341fa058303edd115c9ea80374e29c /Emby.Server.Implementations
parentdb10f380d1dcf034da622011d215642298aa6799 (diff)
add comment explaining a bug fix
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index c3db0461a..6c0e32e05 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -1099,6 +1099,8 @@ namespace Emby.Server.Implementations.Dto
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))
{
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))
{
series = series ?? season.Series;