private void SetFanArtImage(ExtendedDetails details, Title title) { if (details.FanArtImages != null) { return; } if (title.FanArtPaths == null || title.FanArtPaths.Count == 0) { return; } details.FanArtImages = new List <Image>(); foreach (string path in title.FanArtPaths) { details.FanArtImages.Add(new Image("file://" + path)); } // set the first image details.FanArt = details.FanArtImages[0]; }
public static ExtendedDetails LoadExtendedDataForID(int id) { ExtendedDetails retDetails = new ExtendedDetails(); return(retDetails); }