Move the Downloaded msg after Decrypt mgs in DASH/URL downloads
This commit is contained in:
@@ -514,10 +514,7 @@ 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
|
||||
progress(downloaded="Decrypting", completed=0, total=100)
|
||||
drm.decrypt(save_path)
|
||||
track.drm = None
|
||||
@@ -528,6 +525,8 @@ class DASH:
|
||||
track.path = save_path
|
||||
save_dir.rmdir()
|
||||
|
||||
progress(downloaded="Downloaded")
|
||||
|
||||
@staticmethod
|
||||
def _get(
|
||||
item: str,
|
||||
|
||||
Reference in New Issue
Block a user