]> jfr.im git - yt-dlp.git/commitdiff
[downloader/aria2c] Disable native progress
authorpukkandan <redacted>
Tue, 3 Jan 2023 11:55:56 +0000 (17:25 +0530)
committerpukkandan <redacted>
Tue, 3 Jan 2023 11:55:56 +0000 (17:25 +0530)
Closes #5931, closes #5928, Re-opens #2038

README.md
yt_dlp/downloader/external.py

index 927a52636e92c80854ada55de12e80c35bd12af3..e84c9599de827a6bd1ca09a05c2a92582289d61d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -153,7 +153,7 @@ ### Differences in default behavior
 * When `--embed-subs` and `--write-subs` are used together, the subtitles are written to disk and also embedded in the media file. You can use just `--embed-subs` to embed the subs and automatically delete the separate file. See [#630 (comment)](https://github.com/yt-dlp/yt-dlp/issues/630#issuecomment-893659460) for more info. `--compat-options no-keep-subs` can be used to revert this
 * `certifi` will be used for SSL root certificates, if installed. If you want to use system certificates (e.g. self-signed), use `--compat-options no-certifi`
 * yt-dlp's sanitization of invalid characters in filenames is different/smarter than in youtube-dl. You can use `--compat-options filename-sanitization` to revert to youtube-dl's behavior
-* yt-dlp tries to parse the external downloader outputs into the standard progress output if possible (Currently implemented: `aria2c`). You can use `--compat-options no-external-downloader-progress` to get the downloader output as-is
+* yt-dlp tries to parse the external downloader outputs into the standard progress output if possible (Currently implemented: [~~aria2c~~](https://github.com/yt-dlp/yt-dlp/issues/5931)). You can use `--compat-options no-external-downloader-progress` to get the downloader output as-is
 
 For ease of use, a few more compat options are available:
 
index 569839f6f4013f5ef8df382bfe61c7eebd4363f6..3917af448af5e9c0a1089755ea7ed4e5349a731f 100644 (file)
@@ -262,7 +262,8 @@ def _aria2c_filename(fn):
         return fn if os.path.isabs(fn) else f'.{os.path.sep}{fn}'
 
     def _call_downloader(self, tmpfilename, info_dict):
-        if 'no-external-downloader-progress' not in self.params.get('compat_opts', []):
+        # FIXME: Disabled due to https://github.com/yt-dlp/yt-dlp/issues/5931
+        if False and 'no-external-downloader-progress' not in self.params.get('compat_opts', []):
             info_dict['__rpc'] = {
                 'port': find_available_port() or 19190,
                 'secret': str(uuid.uuid4()),