mirror of https://github.com/Radarr/Radarr
- Add rating
This commit is contained in:
parent
23b9d657ce
commit
4d965955d1
|
@ -160,6 +160,11 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||
details.Add(setRating);
|
||||
}
|
||||
|
||||
if (movie.Ratings != null && movie.Ratings.Votes > 0)
|
||||
{
|
||||
details.Add(new XElement("rating", movie.Ratings.Value));
|
||||
}
|
||||
|
||||
details.Add(new XElement("userrating"));
|
||||
|
||||
details.Add(new XElement("top250"));
|
||||
|
|
Loading…
Reference in New Issue