Honor continuedl with aria2c

--remove-control-file[=true|false]

Remove control file before download.
Using with --allow-overwrite=true,
download always starts from scratch.
This commit is contained in:
tcely 2024-12-08 01:36:52 -05:00 committed by GitHub
parent 208ab98aa7
commit 087cb24bb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: