1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

- Add rating

This commit is contained in:
jasimancas
2020-11-16 18:57:24 +01:00
committed by Qstick
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"));