1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 18:30:45 +00:00

Images in XML use the path to the image now.

This commit is contained in:
Mark McDowall 2012-07-13 23:57:52 -07:00
parent cfd923f471
commit f296f38742

View file

@ -55,7 +55,7 @@ public override void CreateForSeries(Series series, TvdbSeries tvDbSeries)
tvShow.Add(new XElement("actor", tvShow.Add(new XElement("actor",
new XElement("name", actor.Name), new XElement("name", actor.Name),
new XElement("role", actor.Role), new XElement("role", actor.Role),
new XElement("thumb", actor.ActorImage) new XElement("thumb", actor.ActorImage.BannerPath)
)); ));
} }
@ -174,7 +174,7 @@ public override void CreateForEpisodeFile(EpisodeFile episodeFile, TvdbSeries tv
details.Add(new XElement("actor", details.Add(new XElement("actor",
new XElement("name", actor.Name), new XElement("name", actor.Name),
new XElement("role", actor.Role), new XElement("role", actor.Role),
new XElement("thumb", actor.ActorImage) new XElement("thumb", actor.ActorImage.BannerPath)
)); ));
} }