fix(config): match per-service cdm keys case-insensitively

cdm lookups used the raw service key while decryption upper-cases its keys, so a case-mismatched cdm entry silently used the default. Add a shared ci_get helper, route cdm/decryption through resolvers, drop a redundant decryption mutation and dead downloader writes, and add a regression bench.
This commit is contained in:
imSp4rky
2026-06-22 16:50:59 -06:00
parent ce69e8a028
commit 6294566823
7 changed files with 114 additions and 29 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ This document covers Digital Rights Management (DRM) and Content Decryption Modu
## cdm (dict)
Pre-define which Widevine or PlayReady device to use for each Service by Service Tag as Key (case-sensitive).
Pre-define which Widevine or PlayReady device to use for each Service by Service Tag as Key (case-insensitive).
The value should be a WVD or PRD filename without the file extension. When
loading the device, unshackle will look in both the `WVDs` and `PRDs` directories
for a matching file.