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:
rlaphoenix 2023-02-23 08:56:37 +00:00
parent 5624232e5e
commit 3b5a199f31
1 changed files with 10 additions and 2 deletions

View File

@ -437,8 +437,16 @@ class dl:
self.prepare_drm,
track=track,
title=title,
certificate=service.get_widevine_service_certificate,
licence=service.get_widevine_license,
certificate=partial(
service.get_widevine_service_certificate,
title=title,
track=track
),
licence=partial(
service.get_widevine_license,
title=title,
track=track
),
cdm_only=cdm_only,
vaults_only=vaults_only,
export=export