feat(dl): let a service force --license-first with the LICENSE_FIRST class variable

This commit is contained in:
imSp4rky
2026-12-05 20:23:47 -07:00
parent ce7cb41eac
commit bd178bc3af
18 changed files with 59 additions and 5 deletions
+3 -1
View File
@@ -446,7 +446,8 @@ file on the server travels as base64, and the client writes it to its own temp d
"server_cdm": false,
"server_cdm_type": "widevine",
"sample_decrypt_tracks": [],
"fairplay_bridge": false
"fairplay_bridge": false,
"license_first": false
}
```
@@ -461,6 +462,7 @@ The remote session fields (`TracksReply`):
| `server_cdm_type` | The DRM system that a server-CDM licence takes first for the tracks of this title. |
| `sample_decrypt_tracks` | The IDs of the tracks that the service decrypts itself, through the `samples` route. |
| `fairplay_bridge` | `true` when the service licenses FairPlay-only tracks through a bridge on the server. |
| `license_first` | The `LICENSE_FIRST` value of the service. When `true`, the client licenses every track of a title before any track downloads, as with `--license-first`. |
| Status | Error code | Meaning |
| --- | --- | --- |