forked from DRMTalks/devine
Fix regression of missing title & track when licensing with Widevine
For some reason I had the partial removed and replaced with the direct function, meaning services using `title` and `track` during the license and service cert functions would crash.
This commit is contained in:
parent
5624232e5e
commit
3b5a199f31
|
@ -437,8 +437,16 @@ class dl:
|
||||||
self.prepare_drm,
|
self.prepare_drm,
|
||||||
track=track,
|
track=track,
|
||||||
title=title,
|
title=title,
|
||||||
certificate=service.get_widevine_service_certificate,
|
certificate=partial(
|
||||||
licence=service.get_widevine_license,
|
service.get_widevine_service_certificate,
|
||||||
|
title=title,
|
||||||
|
track=track
|
||||||
|
),
|
||||||
|
licence=partial(
|
||||||
|
service.get_widevine_license,
|
||||||
|
title=title,
|
||||||
|
track=track
|
||||||
|
),
|
||||||
cdm_only=cdm_only,
|
cdm_only=cdm_only,
|
||||||
vaults_only=vaults_only,
|
vaults_only=vaults_only,
|
||||||
export=export
|
export=export
|
||||||
|
|
Loading…
Reference in New Issue