feat(api): forward exact_lang to the service context

The remote-dl client sends exact_lang in dl_params, and REST download jobs set it in the service ctx, so a service can skip the manifests of close-match languages.
This commit is contained in:
imSp4rky
2026-10-13 15:07:01 -06:00
parent 3e64a7d684
commit 4fbaf2a61a
9 changed files with 38 additions and 17 deletions
+1
View File
@@ -500,6 +500,7 @@ def perform_download(
"v_lang": params.get("v_lang", []),
"a_lang": params.get("a_lang", []),
"forced_subs": params.get("forced_subs", False),
"exact_lang": params.get("exact_lang", False),
}
# Hand-built context: record parameter sources so service dl overrides
# apply to defaults but never clobber client-sent values.