mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 12:05:07 +00:00
feat(PR): Add session ID return
This commit is contained in:
@@ -492,9 +492,12 @@ class PlayReady:
|
||||
kid_count=len(required_kids),
|
||||
)
|
||||
try:
|
||||
license_res = licence(challenge=challenge, pssh_b64=pssh_b64)
|
||||
license_res = licence(challenge=challenge, pssh_b64=pssh_b64, session_id=session_id)
|
||||
except TypeError:
|
||||
license_res = licence(challenge=challenge)
|
||||
try:
|
||||
license_res = licence(challenge=challenge, pssh_b64=pssh_b64)
|
||||
except TypeError:
|
||||
license_res = licence(challenge=challenge)
|
||||
if isinstance(license_res, bytes):
|
||||
license_str = license_res.decode(errors="ignore")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user