refactor(remote)!: send service options only in service_params

A service option named like a dl option (e.g. --profile) is no longer dropped or mixed with the dl value; the server casts nested values and keeps cli defaults nested.
This commit is contained in:
imSp4rky
2026-10-30 16:16:56 -06:00
parent 47f88b1b65
commit 5206b3cab6
12 changed files with 139 additions and 71 deletions
+3 -2
View File
@@ -1958,8 +1958,9 @@ async def session_create(request: web.Request) -> web.Response:
description: |
False when the user picked the local CDM. With `cdm_type`, the server then builds
the service on the client's device, also for an API key with the server CDM.
A request that sets one of the service's `SERVER_DEVICE_OPTIONS`, in
`service_params` or at the top level, keeps the server CDM
A request that sets one of the service's `SERVER_DEVICE_OPTIONS` keeps the server
CDM. The server reads it from `service_params`, or from the top level when
the request has no `service_params`
cdm_type:
type: string
enum: [widevine, playready]