diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-10-06 22:16:21 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-06 22:16:21 +0300 |
| commit | f1567c64a542d419cf4dd0be881d3f75fca9bd85 (patch) | |
| tree | 620741790b3c50b3067f6ed0f8bfd33790934f44 | |
| parent | d900cc5c53ac27887d03afd5a3d4d61ea4c6a69b (diff) | |
| parent | e006b7f1e1e311f5c4b16b2b954bbc00c6aa2b8e (diff) | |
Merge pull request #1844 from dkanada/poster
Fix missing image on seasons without posters
| -rw-r--r-- | Emby.Server.Implementations/Dto/DtoService.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs index a3201f0bc..6c0e32e05 100644 --- a/Emby.Server.Implementations/Dto/DtoService.cs +++ b/Emby.Server.Implementations/Dto/DtoService.cs @@ -1099,7 +1099,9 @@ namespace Emby.Server.Implementations.Dto Series episodeSeries = null; - if (options.ContainsField(ItemFields.SeriesPrimaryImage)) + // 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; if (episodeSeries != null) @@ -1143,7 +1145,9 @@ namespace Emby.Server.Implementations.Dto } } - if (options.ContainsField(ItemFields.SeriesPrimaryImage)) + // 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; if (series != null) |
