mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-22 09:05:41 +07:00
[downloader] Fix quiet and to_stderr
This commit is contained in:
@@ -147,10 +147,10 @@ def parse_bytes(bytestr):
|
||||
return int(round(number * multiplier))
|
||||
|
||||
def to_screen(self, *args, **kargs):
|
||||
self.ydl.to_screen(*args, **kargs)
|
||||
self.ydl.to_stdout(*args, quiet=self.params.get('quiet'), **kargs)
|
||||
|
||||
def to_stderr(self, message):
|
||||
self.ydl.to_screen(message)
|
||||
self.ydl.to_stderr(message)
|
||||
|
||||
def to_console_title(self, message):
|
||||
self.ydl.to_console_title(message)
|
||||
|
||||
Reference in New Issue
Block a user