public Person() { Credits = new PersonCredits(); }
private static void PopulateImagePaths(PersonCredits credits) { if (credits != null) { if (credits.Cast != null) { foreach (var cast in credits.Cast.Where(c => !c.Thumb.IsNullOrEmpty())) cast.Thumb = PlexResources.TmdbActorImageRoot + cast.Thumb; } if (credits.Crew != null) { foreach (var cast in credits.Crew.Where(c => !c.Thumb.IsNullOrEmpty())) cast.Thumb = PlexResources.TmdbActorImageRoot + cast.Thumb; } } }
public Person() { Credits = new PersonCredits(); }