mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-04 06:55:09 +00:00
feat(drm): license a plugin DRM at the licence step and over --remote with the client's plugin device
This commit is contained in:
@@ -232,7 +232,9 @@ accepted URL/ID formats and options there.
|
||||
to classify it. These work correctly for local *and* remote CDMs, so never
|
||||
hand-roll an `isinstance` check. Services often pick a device profile or
|
||||
manifest endpoint based on which DRM the CDM speaks. A service whose DRM
|
||||
plugin licenses locally gets its device from `ctx.obj.cdm_for("<plugin id>")`.
|
||||
plugin licenses locally puts only the plugin data on the track: unshackle
|
||||
licenses it at the licence step. To pick streams by the device, read the
|
||||
device with `ctx.obj.cdm_for("<plugin id>")`.
|
||||
`ctx.obj.cdm_for` is `None` where nothing licenses, for example in a search.
|
||||
|
||||
### `authenticate`: optional login
|
||||
|
||||
Reference in New Issue
Block a user