private static Artist GetArtist(string strId) { try { Uri strUrl = new Uri(string.Format(RootUrl + "person/{1}?api_key={0}&append_to_response={2}", "ec7abdb7bea26002ff70d02cb5b11224", strId, "credits")); string response = Util.GetRest(strUrl, false, true); //Fix since version 2.6 if (string.IsNullOrWhiteSpace(response)) { return(null); } JObject restResponse = JObject.Parse(response); return(TMDB.CastToArtist(restResponse)); } catch (Exception ex) { Util.LogException(ex, "Artist id :" + strId); return(null); } }