feat(dl): add --no-attachments to skip cover art and subtitle fonts

Drops service attachments at track selection and skips the font attach pass; exposed as no_attachments in the REST dl params and documented.
This commit is contained in:
imSp4rky
2026-08-24 16:21:52 -06:00
parent 1f96a4bd78
commit 8c43250c9b
8 changed files with 25 additions and 6 deletions
+2 -1
View File
@@ -121,7 +121,7 @@ unshackle honours the special language tokens `orig`, `all`, and `best` everywhe
### Track-type inclusion / exclusion
Keep only certain track types, or skip certain track types. Attachments are always kept.
Keep only certain track types, or skip certain track types.
| Include-only | Skip |
|---|---|
@@ -129,6 +129,7 @@ Keep only certain track types, or skip certain track types. Attachments are alwa
| `-A`, `--audio-only` | `-na`, `--no-audio` |
| `-S`, `--subs-only` | `-ns`, `--no-subs` |
| `-C`, `--chapters-only` | `-nc`, `--no-chapters` |
| | `-nt`, `--no-attachments` (cover art, subtitle fonts, and files the service attaches) |
| Flag | Description |
|---|---|
+2 -1
View File
@@ -617,6 +617,7 @@ or negatively (everything but these).
- `-na` / `--no-audio`
- `-ns` / `--no-subs`
- `-nc` / `--no-chapters`
- `-nt` / `--no-attachments` (cover art, subtitle fonts, and files the service attaches)
Additional track-type flags:
@@ -932,7 +933,7 @@ authoritative list.
| `--select-titles` | | Interactively pick episodes or films. |
| `--latest-episode` | | Only the newest episode. |
| `--video-only` / `--audio-only` / `--subs-only` | `-V` / `-A` / `-S` | Restrict track types. |
| `--no-video` / `--no-audio` / `--no-subs` / `--no-chapters` | `-nv` / `-na` / `-ns` / `-nc` | Skip track types. |
| `--no-video` / `--no-audio` / `--no-subs` / `--no-chapters` / `--no-attachments` | `-nv` / `-na` / `-ns` / `-nc` / `-nt` | Skip track types. |
| `--worst` | | Lowest bitrate within `-q`. |
| `--require-audio` | | Audio languages that must exist. The title fails if one is missing. |
| `--require-video` | | Video languages that must exist. The title fails if one is missing. |