Fixed plot and rating for episodes

pull/19/head
markus101 13 years ago
parent d40fccd39a
commit ccfcea61b0

@ -162,14 +162,14 @@ namespace NzbDrone.Core.Providers.Metadata
details.Add(new XElement("season", tvdbEpisode.SeasonNumber)); details.Add(new XElement("season", tvdbEpisode.SeasonNumber));
details.Add(new XElement("episode", tvdbEpisode.EpisodeNumber)); details.Add(new XElement("episode", tvdbEpisode.EpisodeNumber));
details.Add(new XElement("aired", tvdbEpisode.FirstAired.ToString("yyyy-MM-dd"))); details.Add(new XElement("aired", tvdbEpisode.FirstAired.ToString("yyyy-MM-dd")));
details.Add(new XElement("plot", tvDbSeries.Overview)); details.Add(new XElement("rating", tvdbEpisode.Rating));
details.Add(new XElement("displayseason")); details.Add(new XElement("displayseason"));
details.Add(new XElement("displayepisode")); details.Add(new XElement("displayepisode"));
details.Add(new XElement("thumb", "http://www.thetvdb.com/banners/" + tvdbEpisode.BannerPath)); details.Add(new XElement("thumb", "http://www.thetvdb.com/banners/" + tvdbEpisode.BannerPath));
details.Add(new XElement("watched", "false")); details.Add(new XElement("watched", "false"));
details.Add(new XElement("credits", tvdbEpisode.Writer.FirstOrDefault())); details.Add(new XElement("credits", tvdbEpisode.Writer.FirstOrDefault()));
details.Add(new XElement("director", tvdbEpisode.Directors.FirstOrDefault())); details.Add(new XElement("director", tvdbEpisode.Directors.FirstOrDefault()));
details.Add(new XElement("rating", tvDbSeries.Rating)); details.Add(new XElement("rating", tvdbEpisode.Rating));
foreach(var actor in tvdbEpisode.GuestStars) foreach(var actor in tvdbEpisode.GuestStars)
{ {

Loading…
Cancel
Save