From ff16fce066f61edd26c2e6db5e7405398ab2775c Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Wed, 3 Apr 2024 06:10:36 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Download=20delay=20enabled=20for=20?= =?UTF-8?q?skipped=20tracks.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/download.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 4ad3af2..a8545c7 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -255,9 +255,9 @@ class Download: status_download: bool = not file_exists - # If a file was downloaded and the download delay is enabled, wait until the next download. - # Only use this, if you have a list of several Track items. Do not use this for list items. - if download_delay and status_download: + # Whether a file was downloaded or skipped and the download delay is enabled, wait until the next download. + # Only use this, if you have a list of several Track items. + if download_delay: time_sleep: float = round(random.SystemRandom().uniform(2, 5), 1) self.fn_logger.debug(f"Next download will start in {time_sleep} seconds.")