public static void ShowTVShowTrailersMenu(TraktShowSummary show, TraktEpisodeSummary episode = null)
{
if (TraktHelper.IsTrailersAvailableAndEnabled)
{
CurrentMediaType = MediaType.Show;
CurrentShow = show;
// check for parental controls
if (PromptForPinCode)
{
if (!GUIUtils.ShowPinCodeDialog(TraktSettings.ParentalControlsPinCode))
{
TraktLogger.Warning("Parental controls pin code has not successfully been entered. Window ID = {0}", GUIWindowManager.ActiveWindow);
return;
}
}
if (episode == null)
ShowTVShowTrailersPluginMenu(show);
else
ShowTVEpisodeTrailersPluginMenu(show, episode);
return;
}
}