mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
- Add rating
This commit is contained in:
parent
23b9d657ce
commit
4d965955d1
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user