mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
feat(remote): send the client's services.<TAG>.preferences to the server in every licensing mode
This commit is contained in:
@@ -68,6 +68,13 @@ unshackle dl EX 20914 # via an ALIAS
|
||||
placeholders while the secrets that fill them stay out of it. Both halves
|
||||
read back through the same `self.config[...]`.
|
||||
|
||||
!!! tip "User choices go under `preferences`"
|
||||
Put each choice a user makes (a metadata language, a subtitle format) under
|
||||
`preferences` in `config.yaml`, and read it from `self.config["preferences"]`.
|
||||
Over `--remote`, the client's own `services.<TAG>.preferences` values reach
|
||||
that block on the server with no extra code. See
|
||||
[Your preferences](rest-api/remote-sessions.md#your-preferences).
|
||||
|
||||
!!! warning "Split across files? Use relative imports"
|
||||
If your service grows beyond a single `__init__.py`, import your own
|
||||
modules **relatively**:
|
||||
|
||||
Reference in New Issue
Block a user