private void GetShowDetail()
{
// check if we need to fetch the show detail as well
// currently the season API does not give back any show
// summary info except for images
if (Show.UpdatedAt == null)
{
string slug = Show.Ids.Trakt.ToString();
if (string.IsNullOrEmpty(slug))
{
if (Show.Ids.Imdb != null)
{
slug = Show.Ids.Imdb;
}
else
{
slug = Show.Title.StripYear(Show.Year).ToSlug();
}
}
var showSummary = TraktAPI.TraktAPI.GetShowSummary(slug);
if (showSummary != null)
{
Show = showSummary;
// Load Show Properties
PublishShowSkinProperties(Show);
// Publish Fanart
var showImages = TmdbCache.GetShowImages(showSummary.Ids.Tmdb);
var showBackdropFilename = TmdbCache.GetShowBackdropFilename(showImages);
if (showBackdropFilename == null)
return;
if (File.Exists(showBackdropFilename))
{
GUIUtils.SetProperty("#Trakt.Show.Fanart", showBackdropFilename);
}
}
}
}