forked from kenzuya/unshackle
refactor(api): give every served service its dl options from the run plan
This commit is contained in:
@@ -489,10 +489,10 @@ object the dashboard shows as sent), and the track-selection hints `range_`, `vc
|
||||
`EC3`), and `forced_subs` and `exact_lang` (booleans). The server gives these values to the
|
||||
service in `ctx.parent.params`, never as service options, so a service option
|
||||
with the same name, such as an own `--lang`, does not get them. The server uses
|
||||
the `dl` default for each absent or malformed value: `lang` is `["orig"]`,
|
||||
the `dl` default for each absent value: `lang` is `["orig"]`,
|
||||
`v_lang`, `a_lang` and `acodec` are `[]`, and `forced_subs` and `exact_lang` are `false`. The
|
||||
server drops an unknown codec name. An empty array is a valid value and stays
|
||||
empty.
|
||||
server refuses a malformed value and an unknown codec or range name with
|
||||
`INVALID_PARAMETERS`. An empty array is a valid value and stays empty.
|
||||
|
||||
The server does not forward the `dl` mode flags: `video_only`, `audio_only`,
|
||||
`subs_only`, `chapters_only`, `list_`, `skip_dl`, `sub_format`,
|
||||
|
||||
Reference in New Issue
Block a user