mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-04 06:55:09 +00:00
feat(drm)!: load DRM systems beyond the built-ins from plugins in directories.plugins
This commit is contained in:
@@ -231,7 +231,9 @@ accepted URL/ID formats and options there.
|
||||
`is_widevine_cdm()` / `is_playready_cdm()` from `unshackle.core.cdm.detect`
|
||||
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.
|
||||
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>")`.
|
||||
`ctx.obj.cdm_for` is `None` where nothing licenses, for example in a search.
|
||||
|
||||
### `authenticate`: optional login
|
||||
|
||||
|
||||
Reference in New Issue
Block a user