From fc19358de4bbf271ae4e380999b5b61b5dd4a181 Mon Sep 17 00:00:00 2001 From: varyg <88599103+varyg1001@users.noreply.github.com> Date: Wed, 22 Feb 2023 13:42:57 +0100 Subject: [PATCH] Fix regression of missing track.path on URL downloads --- 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 ce7661c..bbfc870 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -630,6 +630,7 @@ class dl: service.session.headers, proxy if track.needs_proxy else None )) + track.path = save_path if not track.drm and isinstance(track, (Video, Audio)): try: @@ -645,7 +646,6 @@ class dl: prepare_drm(drm) drm.decrypt(save_path) track.drm = None - track.path = save_path if callable(track.OnDecrypted): track.OnDecrypted(track) else: