mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 03:55:05 +00:00
fix(audio): accept immersive channel layouts like 5.1.4
parse_channels rejected a three-figure layout, so a remote download crashed rebuilding the track from JSON. Add channel_total so --channels can compare either form.
This commit is contained in:
@@ -229,7 +229,8 @@ unshackle dl -a EC3,AAC EXAMPLE 81234567
|
||||
### Channels and Atmos
|
||||
|
||||
- `-c` / `--channels`: desired channel layout, for example `5.1` or `2.0`. Matching is by
|
||||
ceiling, so `5.1` implicitly matches a `6.0`-reported layout.
|
||||
ceiling, so `5.1` implicitly matches a `6.0`-reported layout. An immersive layout such as
|
||||
`5.1.4` matches on its total number of channels, so `-c 10` selects it.
|
||||
- `-naa` / `--noatmos`: exclude Atmos audio tracks from selection.
|
||||
|
||||
```shell title="5.1 audio, no Atmos"
|
||||
|
||||
Reference in New Issue
Block a user