TraktPlugin.GUI.GUITrendingMovies.CheckAndPlayMovie C# (CSharp) Method

CheckAndPlayMovie() private method

private CheckAndPlayMovie ( bool jumpTo ) : void
jumpTo bool
return void
        private void CheckAndPlayMovie(bool jumpTo)
        {
            var selectedItem = this.Facade.SelectedListItem;
            if (selectedItem == null) return;

            var selectedTrendingItem = selectedItem.TVTag as TraktMovieTrending;
            if (selectedTrendingItem == null) return;

            GUICommon.CheckAndPlayMovie(jumpTo, selectedTrendingItem.Movie);
        }