1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

- Add rating

This commit is contained in:
jasimancas 2020-11-16 18:57:24 +01:00 committed by Qstick
parent 23b9d657ce
commit 4d965955d1

View File

@ -160,6 +160,11 @@ public override MetadataFileResult MovieMetadata(Movie movie, MovieFile movieFil
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"));