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
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ namespace NzbDrone.Core.Providers.Metadata
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 @@ namespace NzbDrone.Core.Providers.Metadata
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)
)); ));
} }