v1.4.1
This commit is contained in:
parent
dbacd7df97
commit
54fc08fa24
|
@ -5,34 +5,34 @@ namespace CRD.Utils.Structs;
|
||||||
|
|
||||||
public class CrDownloadOptions{
|
public class CrDownloadOptions{
|
||||||
[YamlMember(Alias = "hard_sub_lang", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "hard_sub_lang", ApplyNamingConventions = false)]
|
||||||
public string Hslang{ get; set; } //locale string none or locale
|
public string Hslang{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public int Kstream{ get; set; }
|
public int Kstream{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "no_video", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "no_video", ApplyNamingConventions = false)]
|
||||||
public bool Novids{ get; set; } //dont download videos
|
public bool Novids{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "no_audio", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "no_audio", ApplyNamingConventions = false)]
|
||||||
public bool Noaudio{ get; set; } //dont download audio
|
public bool Noaudio{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public int X{ get; set; } // selected server
|
public int StreamServer{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "quality_video", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "quality_video", ApplyNamingConventions = false)]
|
||||||
public string QualityVideo{ get; set; } //quality 0 is best
|
public string QualityVideo{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "quality_audio", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "quality_audio", ApplyNamingConventions = false)]
|
||||||
public string QualityAudio{ get; set; } //quality 0 is best
|
public string QualityAudio{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "file_name", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "file_name", ApplyNamingConventions = false)]
|
||||||
public string FileName{ get; set; } //
|
public string FileName{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "leading_numbers", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "leading_numbers", ApplyNamingConventions = false)]
|
||||||
public int Numbers{ get; set; } //leading 0 probably
|
public int Numbers{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public int Partsize{ get; set; } // download parts at same time?
|
public int Partsize{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public int Timeout{ get; set; }
|
public int Timeout{ get; set; }
|
||||||
|
@ -44,67 +44,58 @@ public class CrDownloadOptions{
|
||||||
public int FsRetryTime{ get; set; }
|
public int FsRetryTime{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "soft_subs", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "soft_subs", ApplyNamingConventions = false)]
|
||||||
public List<string> DlSubs{ get; set; } //all or local for subs to download
|
public List<string> DlSubs{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool SkipSubs{ get; set; } // don't download subs
|
public bool SkipSubs{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool NoSubs{ get; set; } // don't download subs
|
public bool NoSubs{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "mux_mp4", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "mux_mp4", ApplyNamingConventions = false)]
|
||||||
public bool Mp4{ get; set; } // mp4 output else mkv
|
public bool Mp4{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public List<string> Override{ get; set; }
|
public List<string> Override{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public string VideoTitle{ get; set; } // ???
|
public string VideoTitle{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public string Force{ get; set; } // always Y
|
public string Force{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "mux_ffmpeg", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "mux_ffmpeg", ApplyNamingConventions = false)]
|
||||||
public List<string> FfmpegOptions{ get; set; } //additional ffmpeg options
|
public List<string> FfmpegOptions{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "mux_mkvmerge", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "mux_mkvmerge", ApplyNamingConventions = false)]
|
||||||
public List<string> MkvmergeOptions{ get; set; } //additional mkvmerge
|
public List<string> MkvmergeOptions{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public LanguageItem DefaultSub{ get; set; } //default sub
|
public LanguageItem DefaultSub{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public LanguageItem DefaultAudio{ get; set; } //default audio
|
public LanguageItem DefaultAudio{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public string CcTag{ get; set; } //cc tag ??
|
public string CcTag{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool DlVideoOnce{ get; set; } // don't download same video multiple times
|
public bool DlVideoOnce{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool? Skipmux{ get; set; } //mux in the end or not
|
public bool? Skipmux{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool SyncTiming{ get; set; } // sync timing in muxing
|
public bool SyncTiming{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
[YamlIgnore]
|
||||||
public bool Nocleanup{ get; set; } // cleanup files after muxing
|
public bool Nocleanup{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "chapters", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "chapters", ApplyNamingConventions = false)]
|
||||||
public bool Chapters{ get; set; } // download chaperts
|
public bool Chapters{ get; set; }
|
||||||
|
|
||||||
[YamlIgnore]
|
|
||||||
public string? FontName{ get; set; } //font sutff
|
|
||||||
|
|
||||||
[YamlIgnore]
|
|
||||||
public bool OriginalFontSize{ get; set; } //font sutff
|
|
||||||
|
|
||||||
[YamlIgnore]
|
|
||||||
public int FontSize{ get; set; } //font sutff
|
|
||||||
|
|
||||||
[YamlMember(Alias = "dub_lang", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "dub_lang", ApplyNamingConventions = false)]
|
||||||
public List<string> DubLang{ get; set; } //dub lang download
|
public List<string> DubLang{ get; set; }
|
||||||
|
|
||||||
[YamlMember(Alias = "simultaneous_downloads", ApplyNamingConventions = false)]
|
[YamlMember(Alias = "simultaneous_downloads", ApplyNamingConventions = false)]
|
||||||
public int SimultaneousDownloads{ get; set; }
|
public int SimultaneousDownloads{ get; set; }
|
||||||
|
|
Loading…
Reference in New Issue