diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-31 02:23:54 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-01 01:57:14 +0530 |
commit | 8a7f6d7a155bc0966c40736336faea81db92315b (patch) | |
tree | ef163acb98c3a53aaeffd256130fbd7249e8751b | |
parent | 9c0412cf6b2257b314a6e1cc5ac07edc03f6d6ea (diff) | |
download | hypervideo-pre-8a7f6d7a155bc0966c40736336faea81db92315b.tar.lz hypervideo-pre-8a7f6d7a155bc0966c40736336faea81db92315b.tar.xz hypervideo-pre-8a7f6d7a155bc0966c40736336faea81db92315b.zip |
Do not print progress to `stderr` with `-q`
It is arguable how this "should" behave, but since progress is always
written to stdout in older yt-dl/p, we should keep it as-is
Bug in cf4f42cb9776eaa3166d2d234c3ec7651f05d7a9
Closes #3844
-rw-r--r-- | yt_dlp/downloader/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.py index e2266cfb0..cd30d1eff 100644 --- a/yt_dlp/downloader/common.py +++ b/yt_dlp/downloader/common.py @@ -283,9 +283,9 @@ class FileDownloader: elif self.ydl.params.get('logger'): self._multiline = MultilineLogger(self.ydl.params['logger'], lines) elif self.params.get('progress_with_newline'): - self._multiline = BreaklineStatusPrinter(self.ydl._out_files.screen, lines) + self._multiline = BreaklineStatusPrinter(self.ydl._out_files.out, lines) else: - self._multiline = MultilinePrinter(self.ydl._out_files.screen, lines, not self.params.get('quiet')) + self._multiline = MultilinePrinter(self.ydl._out_files.out, lines, not self.params.get('quiet')) self._multiline.allow_colors = self._multiline._HAVE_FULLCAP and not self.params.get('no_color') def _finish_multiline_status(self): |