aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-12 22:56:30 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-12 22:56:30 -0500
commitab3da461130b0db2f77e7e848c4bbd1280e5524a (patch)
tree0ee0ef36f4d710a491d4e8c5ef083df16c710d42 /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parent3fb40eb02e3ab4bf84e34ebed126db8d6f760e92 (diff)
more sync movement
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index e1e8da5c5..a6f9f0675 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -1142,6 +1142,15 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.SeasonId = episodeSeason.Id.ToString("N");
dto.SeasonName = episodeSeason.Name;
}
+
+ if (fields.Contains(ItemFields.SeriesGenres))
+ {
+ var episodeseries = episode.Series;
+ if (episodeseries != null)
+ {
+ dto.SeriesGenres = episodeseries.Genres.ToList();
+ }
+ }
}
// Add SeriesInfo