summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-15 21:22:34 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-15 21:22:34 +0100
commitacf2ff3adbea589cd87747cf249cc1c55a64c41c (patch)
tree8ff59c394d7ad8547e57a9a6771135bf3a433edb
parentfb6e45a0d4b146d3e5a06ebc42921589e841c5fa (diff)
downloadtidal-dl-ng-acf2ff3adbea589cd87747cf249cc1c55a64c41c.tar.gz
🛠️ Changed cli progress bar length.
-rw-r--r--tidal_dl_ng/download.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index 29cc2d8..fc7758e 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -91,7 +91,7 @@ class Download:
# Create progress Task
p_task: TaskID = progress.add_task(
- f"[blue]Item '{media_name[:20]}'",
+ f"[blue]Item '{media_name[:30]}'",
total=progress_total,
visible=progress_stdout,
)
@@ -304,13 +304,13 @@ class Download:
# Get the items and name of the list.
if isinstance(media, Mix):
items = media.items()
- list_media_name = media.title[:20]
+ list_media_name = media.title[:30]
elif video_download:
items = media.items(limit=100)
- list_media_name = media.name[:20]
+ list_media_name = media.name[:30]
else:
items = media.tracks(limit=999)
- list_media_name = media.name[:20]
+ list_media_name = media.name[:30]
# Determine where to redirect the progress information.
if progress_gui is None: