feat(drm)!: load DRM systems beyond the built-ins from plugins in directories.plugins

This commit is contained in:
imSp4rky
2026-12-03 15:51:42 -07:00
parent f8a248a29e
commit e9adc50594
65 changed files with 1651 additions and 2526 deletions
@@ -24,6 +24,7 @@ directories:
| `exports` | path | `<data>/exports` | Yes | Export JSON files. |
| `wvds` | path | `<data>/WVDs` | Yes | Widevine device files (`.wvd`). |
| `prds` | path | `<data>/PRDs` | Yes | PlayReady device files (`.prd`). |
| `plugins` | path | `unshackle/plugins` | Yes | DRM plugins: zip files or folders (see [DRM plugins](../../guide/drm-and-cdm.md#drm-plugins)). |
| `dcsl` | path | `<data>/DCSL` | Yes | DCSL data. |
| `commands` | path | `unshackle/commands` | Yes | CLI command modules. |
| `services` | list \| path | `[unshackle/services]` | Yes | Service search paths and/or remote repo specs (see below). |
+3 -1
View File
@@ -80,7 +80,9 @@ needs a device for each system from one of these shapes.
unshackle finds the resolved name in [`remote_cdm`](#remote_cdm) by `name` first. If no entry
matches, unshackle loads it as a local device file, in this order: `<name>.prd` in
`directories.prds`, `<name>.prd` in `directories.wvds`, then `<name>.wvd` in
`directories.wvds`.
`directories.wvds`, then a device file of a DRM plugin, `<name><suffix>` in `directories.wvds` or
`directories.prds`, then in the device files of the plugin. A service that needs a plugin device gets
the default device of the plugin when its entry names no device of that system.
## `remote_cdm`