mirror of https://github.com/Radarr/Radarr
parent
da857701f6
commit
2be70f5001
|
@ -148,11 +148,13 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
||||||
|
|
||||||
var details = new XElement("movie");
|
var details = new XElement("movie");
|
||||||
|
|
||||||
details.Add(new XElement("title", movieTranslation?.Title ?? movie.Title));
|
var metadataTitle = movieTranslation?.Title ?? movie.Title;
|
||||||
|
|
||||||
|
details.Add(new XElement("title", metadataTitle));
|
||||||
|
|
||||||
details.Add(new XElement("originaltitle", movie.MovieMetadata.Value.OriginalTitle));
|
details.Add(new XElement("originaltitle", movie.MovieMetadata.Value.OriginalTitle));
|
||||||
|
|
||||||
details.Add(new XElement("sorttitle", movie.MovieMetadata.Value.SortTitle));
|
details.Add(new XElement("sorttitle", Parser.Parser.NormalizeTitle(metadataTitle)));
|
||||||
|
|
||||||
if (movie.MovieMetadata.Value.Ratings.Tmdb?.Votes > 0 || movie.MovieMetadata.Value.Ratings.Imdb?.Votes > 0)
|
if (movie.MovieMetadata.Value.Ratings.Tmdb?.Votes > 0 || movie.MovieMetadata.Value.Ratings.Imdb?.Votes > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue