From 3b5a199f31a8a372fe4a94b371284b9efc4c23f4 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Thu, 23 Feb 2023 08:56:37 +0000 Subject: [PATCH] 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. --- devine/commands/dl.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/devine/commands/dl.py b/devine/commands/dl.py index bbfc870..db15a81 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -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