License decode fix
This commit is contained in:
parent
5290850dc6
commit
f90eaff39b
@ -542,6 +542,10 @@ def result(ctx, service, quality, closest_resolution, range_, wanted, alang, sla
|
||||
track=track,
|
||||
)
|
||||
assert license
|
||||
|
||||
if isinstance(license, bytes):
|
||||
license = license.decode("utf-8")
|
||||
|
||||
ctx.obj.cdm.parse_license(
|
||||
session_id,
|
||||
license # expects the XML License not base64 encoded str.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user