Open
Description
I'm using these options in my scripts and have added them to my fork of your code. Just putting this here for reference, and if you'd like to add them that would be awesome.
private bool $noWriteComments = false;
/**
* Don't write video comments inside .info.json file.
*/
public function noWriteComments(bool $noWriteComments): self {
$new = clone $this;
$new->noWriteComments = $noWriteComments;
return $new;
}
'no-write-comments' => $this->noWriteComments,
private bool $noWriteDescription = false;
/**
* Don't write video description to a .description file.
*/
public function noWriteDescription(bool $noWriteDescription): self {
$new = clone $this;
$new->noWriteDescription = $noWriteDescription;
return $new;
}
'no-write-description' => $this->noWriteDescription,
private bool $noWriteThumbnail = false;
/**
* Don't write thumbnail image to disk.
*/
public function noWriteThumbnail(bool $noWriteThumbnail): self {
$new = clone $this;
$new->noWriteThumbnail = $noWriteThumbnail;
return $new;
}
'no-write-thumbnail' => $this->noWriteThumbnail,
private ?bool $noWriteSub = false;
/**
* Don't write subtitle file.
*/
public function noWriteSub(bool $noWriteSub): self {
$new = clone $this;
$new->noWriteSub = $noWriteSub;
return $new;
}
'no-write-sub' => $this->noWriteSub,
private ?bool $noWriteAutoSub = false;
/**
* Write automatically generated subtitle file (YouTube only).
*/
public function noWriteAutoSub(bool $noWriteAutoSub): self {
$new = clone $this;
$new->noWriteAutoSub = $noWriteAutoSub;
return $new;
}
'no-write-auto-sub' => $this->noWriteAutoSub,
Metadata
Metadata
Assignees
Labels
No labels