diff --git a/devine/commands/dl.py b/devine/commands/dl.py index b1d515a..5341ca7 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -915,6 +915,8 @@ class dl: track.path = save_path + progress(downloaded="Downloaded") + if drm: drm.decrypt(save_path) track.drm = None diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index d192cc6..27e2174 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -519,6 +519,8 @@ class DASH: f.write(segment_file.read_bytes()) segment_file.unlink() + progress(downloaded="Downloaded") + if drm: # TODO: What if the manifest does not mention DRM, but has DRM drm.decrypt(save_path) diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index ceb8f1a..cb420f9 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -427,6 +427,8 @@ class HLS: f.write(segment_file.read_bytes()) segment_file.unlink() + progress(downloaded="Downloaded") + track.path = save_path save_dir.rmdir()