Fixed: series/episode rating is 0-10

pull/2/head
Mark McDowall 11 years ago
parent b05d2c17e5
commit 21afdf80a2

@ -218,7 +218,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
var tvShow = new XElement("tvshow");
tvShow.Add(new XElement("title", series.Title));
tvShow.Add(new XElement("rating", series.Ratings.Percentage));
tvShow.Add(new XElement("rating", (decimal)series.Ratings.Percentage/10));
tvShow.Add(new XElement("plot", series.Overview));
//Todo: probably will need to use TVDB to use this feature...
@ -373,7 +373,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
}
details.Add(new XElement("watched", "false"));
details.Add(new XElement("rating", episode.Ratings.Percentage));
details.Add(new XElement("rating", (decimal)episode.Ratings.Percentage/10));
//Todo: get guest stars, writer and director
//details.Add(new XElement("credits", tvdbEpisode.Writer.FirstOrDefault()));

Loading…
Cancel
Save