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.RunAudioPlaylistDownload(url, items : playlistItems,
                                               format : ConversionFormat, 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.RunAudioPlaylistDownload(url, items : playlistItems,
                                               format : ConversionFormat, ct : ct, progress : progress));
 }