mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
Also pass "allow-overwrite" and "remove-control-file" options at beginning
This commit is contained in:
parent
9b76e517aa
commit
7cf7d4d7c5
@ -184,6 +184,8 @@ class Aria2cFD(ExternalFD):
|
||||
def _make_cmd(self, tmpfilename, info_dict):
|
||||
cmd = [self.exe]
|
||||
cmd += self._bool_option('--continue', 'continuedl', separator='=')
|
||||
cmd += self._bool_option('--allow-overwrite', 'continuedl', 'false', 'true', separator='=')
|
||||
cmd += self._bool_option('--remove-control-file', 'continuedl', 'false', 'true', separator='=')
|
||||
cmd += self._configuration_args([
|
||||
'--min-split-size', '1M', '--max-connection-per-server', '4'])
|
||||
dn = os.path.dirname(tmpfilename)
|
||||
|
Loading…
Reference in New Issue
Block a user