From 087cb24bb2101c3dcb08b394df28b734b940eb8f Mon Sep 17 00:00:00 2001 From: tcely Date: Sun, 8 Dec 2024 01:36:52 -0500 Subject: [PATCH] Honor continuedl with aria2c --remove-control-file[=true|false] Remove control file before download. Using with --allow-overwrite=true, download always starts from scratch. --- yt_dlp/downloader/external.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index 3813c0b120..766dd7b337 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -315,6 +315,7 @@ class Aria2cFD(ExternalFD): cmd += self._bool_option('--check-certificate', 'nocheckcertificate', 'false', 'true', '=') cmd += self._bool_option('--remote-time', 'updatetime', 'true', 'false', '=') cmd += self._bool_option('--show-console-readout', 'noprogress', 'false', 'true', '=') + cmd += self._bool_option('--remove-control-file', 'continuedl', 'false', 'true', '=') cmd += self._configuration_args() if '__rpc' in info_dict: