mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 20:15:10 +00:00
feat(dl): add --no-postscript to skip post-scripts for one run
This commit is contained in:
@@ -149,6 +149,7 @@ Keep only certain track types, or skip certain track types.
|
||||
| `--tag` | Group tag override. |
|
||||
| `--repack` | Add a `REPACK` tag to the filename. |
|
||||
| `--postscript` | Run a command after each output file, with `{variable}` placeholders substituted. Repeatable. Replaces the `post_scripts` config for this run. See [Post-scripts](../reference/configuration/post-scripts.md). |
|
||||
| `--no-postscript` | Run no post-script for this run, neither the configured ones nor `--postscript`. |
|
||||
|
||||
### Metadata & tagging
|
||||
|
||||
|
||||
@@ -698,6 +698,13 @@ that run writes no muxed output. A `failure` post-script still operates if the d
|
||||
unshackle dl --postscript "python /opt/upload.py {filepath} --service={service}" EXAMPLE 81234567
|
||||
```
|
||||
|
||||
`--no-postscript` operates the run with no post-script at all. It silences the `post_scripts`
|
||||
config and `--postscript` together, for every event and mode.
|
||||
|
||||
```shell title="Skip the uploader for one run"
|
||||
unshackle dl --no-postscript EXAMPLE 81234567
|
||||
```
|
||||
|
||||
For post-scripts that continue across runs, for the `season` and `run` modes, for `failure`
|
||||
post-scripts and for the full variable list, see
|
||||
[Post-scripts](../reference/configuration/post-scripts.md).
|
||||
@@ -946,7 +953,7 @@ authoritative list.
|
||||
| `--best-available` | | Degrade gracefully instead of failing. |
|
||||
| `--output` | `-o` | Output directory for this run. |
|
||||
| `--split-audio` / `--merge-video` / `--no-mux` | | Muxing behaviour. |
|
||||
| `--postscript` | | Run a command after each output file. Repeatable. |
|
||||
| `--postscript` / `--no-postscript` | | Run a command after each output file, or run none. |
|
||||
| `--proxy` / `--no-proxy` / `--no-proxy-download` | | Proxy control. |
|
||||
| `--workers` / `--downloads` / `--slow` | | Concurrency and pacing. |
|
||||
| `--list` / `--list-titles` / `--skip-dl` | | Dry runs. |
|
||||
|
||||
Reference in New Issue
Block a user