Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AudioDownloader"/> class.
 /// </summary>
 /// <param name="video">The video to convert.</param>
 /// <param name="savePath">The path to save the audio.</param>
 /// /// <param name="bytesToDownload">An optional value to limit the number of bytes to download.</param>
 /// <exception cref="ArgumentNullException"><paramref name="video"/> or <paramref name="savePath"/> is <c>null</c>.</exception>
 public AudioDownloader(VideoInfo video, string savePath, string baseUrl, int?bytesToDownload = null)
     : base(video, savePath, bytesToDownload)
 {
     this.baseUrl = baseUrl;
 }
Ejemplo n.º 2
0
 internal VideoInfo(VideoInfo info)
     : this(info.FormatCode, info.VideoType, info.Resolution, info.Is3D, info.AudioType, info.AudioBitrate)
 {
 }