forked from kenzuya/unshackle
fix(netflix): harden ESN cache checks and Widevine type test
Handle Netflix ESN cache values more defensively to avoid key/type errors and stale reuse by validating cache shape, cache expiry, and device type before reusing values. Also log the final ESN safely when cache data is not a dict. Alias `pywidevine.Cdm` to `WidevineCDM` and use it in DRM system detection so Widevine instances are identified correctly. Also include related config updates: add ESN map entry for system ID `12063`, ignore `binaries/`, and refresh local runtime defaults in `unshackle.yaml`.fix(netflix): harden ESN cache checks and Widevine type test Handle Netflix ESN cache values more defensively to avoid key/type errors and stale reuse by validating cache shape, cache expiry, and device type before reusing values. Also log the final ESN safely when cache data is not a dict. Alias `pywidevine.Cdm` to `WidevineCDM` and use it in DRM system detection so Widevine instances are identified correctly. Also include related config updates: add ESN map entry for system ID `12063`, ignore `binaries/`, and refresh local runtime defaults in `unshackle.yaml`.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -26,6 +26,7 @@ unshackle/PRDs/
|
||||
temp/
|
||||
logs/
|
||||
Temp/
|
||||
binaries/
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
||||
Reference in New Issue
Block a user