1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02: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",
new XElement("name", actor.Name),
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",
new XElement("name", actor.Name),
new XElement("role", actor.Role),
new XElement("thumb", actor.ActorImage)
new XElement("thumb", actor.ActorImage.BannerPath)
));
}