mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
add archive no-closed-captions flag (#323)
This commit is contained in:
parent
982e521e0b
commit
f8309f2e80
2 changed files with 13 additions and 0 deletions
|
|
@ -125,6 +125,10 @@ pub struct Archive {
|
|||
#[arg(long)]
|
||||
pub(crate) include_fonts: bool,
|
||||
|
||||
#[arg(help = "Omit closed caption subtitles in the downloaded file")]
|
||||
#[arg(long, default_value_t = false)]
|
||||
pub(crate) no_closed_caption: bool,
|
||||
|
||||
#[arg(help = "Skip files which are already existing")]
|
||||
#[arg(long, default_value_t = false)]
|
||||
pub(crate) skip_existing: bool,
|
||||
|
|
@ -224,6 +228,7 @@ impl Execute for Archive {
|
|||
.output_format(Some("matroska".to_string()))
|
||||
.audio_sort(Some(self.audio.clone()))
|
||||
.subtitle_sort(Some(self.subtitle.clone()))
|
||||
.no_closed_caption(self.no_closed_caption)
|
||||
.threads(self.threads);
|
||||
|
||||
for single_formats in single_format_collection.into_iter() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue