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/postprocessor/sponskrub.py | |
parent | ea3a012d2aa6f71945f934ab8426852c8abdbf35 (diff) |
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/postprocessor/sponskrub.py')
-rw-r--r-- | yt_dlp/postprocessor/sponskrub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/sponskrub.py b/yt_dlp/postprocessor/sponskrub.py index 2f30acc8e..4ba33398e 100644 --- a/yt_dlp/postprocessor/sponskrub.py +++ b/yt_dlp/postprocessor/sponskrub.py @@ -71,7 +71,7 @@ class SponSkrubPP(PostProcessor): if not self.cutout: cmd += ['-chapter'] cmd += compat_shlex_split(self.args) # For backward compatibility - cmd += self._configuration_args(exe=self._exe_name, use_default_arg='no_compat') + cmd += self._configuration_args(self._exe_name, use_compat=False) cmd += ['--', information['id'], filename, temp_filename] cmd = [encodeArgument(i) for i in cmd] |