summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-11-15 09:14:00 +0100
committerRobert Honz <exislow+github@gmail.com>2024-11-15 09:14:00 +0100
commitf28d07b651a0d69229bfb6f1a1bcd3525ed99933 (patch)
tree55e0650e16881163183e0153c9cc4e718dfe255e
parent6f112546a515b67b3964d4164fca703d68e38610 (diff)
downloadtidal-dl-ng-f28d07b651a0d69229bfb6f1a1bcd3525ed99933.tar.gz
✨ Todo added to implement download speed.
-rw-r--r--tidal_dl_ng/download.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index 11ee8da..bdc2481 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -149,6 +149,7 @@ class Download:
)
# Download segments until progress is finished.
+ # TODO: Compute download speed (https://github.com/Textualize/rich/blob/master/examples/downloader.py)
while not self.progress.tasks[p_task].finished:
with futures.ThreadPoolExecutor(
max_workers=self.settings.data.downloads_simultaneous_per_track_max