private async void DownloadBusiness_DownloadCompleted(object sender, DownloadCompletedEventArgs e) {
     if (e.DownloadInfo.IsCompleted) {
         MediaList.business.RefreshPlaylist(e.DownloadInfo.Request, null);
         await MediaList.LoadDataAsync();
     }
 }
 private async void DownloadBusiness_DownloadCompleted(object sender, DownloadCompletedEventArgs e) {
     if (e.DownloadInfo.IsCompleted && this.IsVisible && currentPage == downloadPage)
         await PlayVideo(PlayerAccess.GetVideoById(e.DownloadInfo.Request.MediaId));
 }
 /// <summary>
 /// Occurs when download is completed.
 /// </summary>
 private async void Download_Complete(object sender, DownloadCompletedEventArgs args) {
     if (args.DownloadInfo.IsCompleted && (args.DownloadInfo.QueuePos == 0 || player.CurrentVideo == null) && !player.AllowClose) {
         nextVideo = args.DownloadInfo.Request;
         player_PlayNext(null, null);
     } else if (args.DownloadInfo.IsCanceled && args.DownloadInfo.QueuePos > -1 && playMode != PlayerMode.Manual) {
         nextVideo = null;
         await SelectNextVideoAsync(args.DownloadInfo.QueuePos);
     }
 }