Exemplo n.º 1
0
        public URLSpecs(string url)
        {
            URLSpecs specs = URLSpecs.ExamineURL(url);

            this.IsPlaylist    = specs.IsPlaylist;
            this.ContainsVideo = specs.ContainsVideo;
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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);
 }