TraktPlugin.GUI.GUISeasonEpisodes.InitProperties C# (CSharp) Méthode

InitProperties() private méthode

private InitProperties ( ) : void
Résultat void
        private void InitProperties()
        {
            // only set property if file exists
            // if we set now and download later, image will not set to skin
            var showImages = TmdbCache.GetShowImages(Show.Ids.Tmdb, true);
            var backdropFilename = TmdbCache.GetShowBackdropFilename(showImages);

            if (backdropFilename != null && File.Exists(backdropFilename))
                GUIUtils.SetProperty("#Trakt.Show.Fanart", backdropFilename);

            // load last layout
            CurrentLayout = (Layout)TraktSettings.SeasonEpisodesDefaultLayout;

            // update button label
            if (layoutButton != null)
                GUIControl.SetControlLabel(GetID, layoutButton.GetID, GUICommon.GetLayoutTranslation(CurrentLayout));
        }