mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-22 00:45:10 +00:00
feat(PR): Add session ID return
This commit is contained in:
@@ -492,9 +492,12 @@ class PlayReady:
|
|||||||
kid_count=len(required_kids),
|
kid_count=len(required_kids),
|
||||||
)
|
)
|
||||||
try:
|
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:
|
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):
|
if isinstance(license_res, bytes):
|
||||||
license_str = license_res.decode(errors="ignore")
|
license_str = license_res.decode(errors="ignore")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user