diff --git a/NzbDrone.Core/Providers/Metadata/Xbmc.cs b/NzbDrone.Core/Providers/Metadata/Xbmc.cs index 5bad7f659..a17f7cc2a 100644 --- a/NzbDrone.Core/Providers/Metadata/Xbmc.cs +++ b/NzbDrone.Core/Providers/Metadata/Xbmc.cs @@ -40,13 +40,16 @@ public override void CreateForSeries(Series series, TvdbSeries tvDbSeries) using (var xw = XmlWriter.Create(sb, xws)) { var tvShow = new XElement("tvshow"); + + tvShow.Add(new XElement("title", tvDbSeries.SeriesName)); tvShow.Add(new XElement("rating", tvDbSeries.Rating)); tvShow.Add(new XElement("plot", tvDbSeries.Overview)); tvShow.Add(new XElement("episodeguide", new XElement("url", episodeGuideUrl))); tvShow.Add(new XElement("episodeguideurl", episodeGuideUrl)); tvShow.Add(new XElement("mpaa", tvDbSeries.ContentRating)); - tvShow.Add(new XElement("genre", tvDbSeries.GenreString)); + tvShow.Add(new XElement("id", tvDbSeries.Id)); + tvShow.Add(new XElement("genre", tvDbSeries.Genre.FirstOrDefault())); tvShow.Add(new XElement("premiered", tvDbSeries.FirstAired.ToString("yyyy-MM-dd"))); tvShow.Add(new XElement("studio", tvDbSeries.Network)); @@ -55,7 +58,7 @@ public override void CreateForSeries(Series series, TvdbSeries tvDbSeries) tvShow.Add(new XElement("actor", new XElement("name", actor.Name), new XElement("role", actor.Role), - new XElement("thumb", actor.ActorImage.BannerPath) + new XElement("thumb", "http://www.thetvdb.com/banners/" + actor.ActorImage.BannerPath) )); } @@ -184,7 +187,7 @@ public override void CreateForEpisodeFile(EpisodeFile episodeFile, TvdbSeries tv details.Add(new XElement("actor", new XElement("name", actor.Name), new XElement("role", actor.Role), - new XElement("thumb", actor.ActorImage.BannerPath) + new XElement("thumb", "http://www.thetvdb.com/banners/" + actor.ActorImage.BannerPath) )); }