Example #1
0
 protected override async Task <RunResult <string[]> > RunRealPlaylistDownload(YoutubeDL ydl, string url,
                                                                               int[] playlistItems, CancellationToken ct, IProgress <DownloadProgress> progress, OptionSet overrideOptions = null)
 {
     return(await ydl.RunVideoPlaylistDownload(url, format : FormatSelection,
                                               items : playlistItems, recodeFormat : RecodeFormat, ct : ct, progress : progress,
                                               output : new Progress <string>(s => DownloadOutputLogger.Instance.WriteOutput(url, s)),
                                               overrideOptions : overrideOptions
                                               ));
 }
Example #2
0
 protected override async Task <RunResult <string[]> > RunRealPlaylistDownload(YoutubeDL ydl, string url,
                                                                               int[] playlistItems, CancellationToken ct, IProgress <DownloadProgress> progress)
 {
     return(await ydl.RunVideoPlaylistDownload(url, format : FormatSelection,
                                               items : playlistItems, recodeFormat : RecodeFormat, ct : ct, progress : progress));
 }