From d73256f1b31d63a050e509f5420c13cac2f7a6c0 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Wed, 8 Mar 2023 21:31:44 +0000 Subject: [PATCH] Fix storing of DRM to be before preparation on URL tracks --- devine/commands/dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/commands/dl.py b/devine/commands/dl.py index 6bd9a07..258f48e 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -795,8 +795,8 @@ class dl: # it might not have Widevine DRM, or might not have found the PSSH self.log.warning("No Widevine PSSH was found for this track, is it DRM free?") else: - prepare_drm(drm) track.drm = [drm] + prepare_drm(drm) asyncio.run(aria2c( uri=track.url,