public URLSpecs(string url) { URLSpecs specs = URLSpecs.ExamineURL(url); this.IsPlaylist = specs.IsPlaylist; this.ContainsVideo = specs.ContainsVideo; }
public SYMMSettings(string streamURL, Actions action, Mode downloadMode = Mode.Single, short audioBitrate = 192) { this.DownloadURL = streamURL; this.Action = action; this.AudioBitrate = audioBitrate; this.DownloadMode = downloadMode; this.UrlSpecs = URLSpecs.ExamineURL(streamURL); }
public SYMMSettings(string downloadURL, string savePath, Mode downloadMode = Mode.Single, short videoResolution = 1080, bool checkDuplicate = true) { this.DownloadURL = downloadURL; this.SavePath = savePath; this.VideoResolution = videoResolution; this.CheckDuplicate = checkDuplicate; this.Action = Actions.Download; this.DownloadMode = downloadMode; this.UrlSpecs = URLSpecs.ExamineURL(downloadURL); }
public SYMMSettings(string downloadURL, string savePath, Actions action, Mode downloadMode = Mode.Single, bool checkDuplicate = true, AudioFormats audioFormat = AudioFormats.mp3, short audioBitrate = 192) { this.DownloadURL = downloadURL; this.SavePath = savePath; this.Action = action; this.CheckDuplicate = checkDuplicate; this.AudioFormat = audioFormat; this.AudioBitrate = audioBitrate; this.DownloadMode = downloadMode; this.UrlSpecs = URLSpecs.ExamineURL(downloadURL); }