DownloadAndPlaySample() public method

public DownloadAndPlaySample ( string artist, string title ) : Task
artist string
title string
return Task
        private async void Page_Loaded(object sender, RoutedEventArgs e) {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled = true;
            MpcConfigBusiness.IsMadvrEnabled = true;
            MpcConfigBusiness.IsWidescreenEnabled = false;
            await owner.DownloadAndPlaySample("Ellie Goulding", "Burn");
        }
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled        = true;
            MpcConfigBusiness.IsMadvrEnabled      = true;
            MpcConfigBusiness.IsWidescreenEnabled = false;
            await owner.DownloadAndPlaySample("Ellie Goulding", "Burn");
        }
        private async void Page_Loaded(object sender, RoutedEventArgs e) {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled = true;
            MpcConfigBusiness.IsMadvrEnabled = false;
            await owner.DownloadAndPlaySample("Girls' Generation", "Sexy Dance");

            //EditVideoBusiness FindVideoBusiness = new EditVideoBusiness();
            //Media Sample = FindVideoBusiness.GetVideoByTitle(MediaType.Video, "Girls' Generation", "Sexy Dance");
            //if (Sample != null) {
            //    await DownloadAndPlaySample(Sample);
            //}
        }
Exemplo n.º 4
0
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled   = true;
            MpcConfigBusiness.IsMadvrEnabled = false;
            await owner.DownloadAndPlaySample("Girls' Generation", "Sexy Dance");

            //EditVideoBusiness FindVideoBusiness = new EditVideoBusiness();
            //Media Sample = FindVideoBusiness.GetVideoByTitle(MediaType.Video, "Girls' Generation", "Sexy Dance");
            //if (Sample != null) {
            //    await DownloadAndPlaySample(Sample);
            //}
        }