diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-09 07:47:21 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-14 20:02:55 +0530 |
commit | e92caff5d50e60bfd33563d631f0c49ce176dc70 (patch) | |
tree | a215d99d7b70983d1b5e20338ddc7b46adddd935 /yt_dlp/downloader/external.py | |
parent | ea3a012d2aa6f71945f934ab8426852c8abdbf35 (diff) | |
download | hypervideo-pre-e92caff5d50e60bfd33563d631f0c49ce176dc70.tar.lz hypervideo-pre-e92caff5d50e60bfd33563d631f0c49ce176dc70.tar.xz hypervideo-pre-e92caff5d50e60bfd33563d631f0c49ce176dc70.zip |
Refactor (See desc)
* Create `FFmpegPostProcessor.real_run_ffmpeg` that can accept multiple input/output files along with switches for each
* Rewrite `cli_configuration_args` and related functions
* Create `YoutubeDL._ensure_dir_exists` - this was previously defined in multiple places
Diffstat (limited to 'yt_dlp/downloader/external.py')
-rw-r--r-- | yt_dlp/downloader/external.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index 7c2d56d9c..2c37860af 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -108,7 +108,8 @@ class ExternalFD(FileDownloader): def _configuration_args(self, *args, **kwargs): return cli_configuration_args( self.params.get('external_downloader_args'), - self.get_basename(), *args, **kwargs) + [self.get_basename(), 'default'], + *args, **kwargs) def _call_downloader(self, tmpfilename, info_dict): """ Either overwrite this or implement _make_cmd """ |