Esempio n. 1
0
        private async void LoadMovie(VideoDetailsMovie movie, bool loadDetails)
        {
            if (loadDetails)
            {
                Movie = await App.Context.Connection.Kodi.VideoLibrary.GetMovieDetailsAsync(movie.MovieId);
            }
            else
            {
                Movie = movie;
            }

            NotifyPropertyHasChanged(nameof(Movie));

            LoadThumbailUrl(Movie.Thumbnail);
        }
Esempio n. 2
0
 public ExtendedVideoDetailsMovie(VideoDetailsMovie movie, bool loadDetails)
     : base(null, "ms-appx:///Assets/Default/DefaultMovieSmall.png")
 {
     LoadMovie(movie, loadDetails);
 }