The Free Software Media System - Server Backend & API
add comment explaining a bug fix
dkanadae006b7f1e1e3
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex c3db0461a7..6c0e32e05b 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -1099,6 +1099,8 @@ namespace Emby.Server.Implementations.DtoSeries 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;