aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/YoutubeDL.py
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2024-07-16 21:48:45 +0200
committerGitHub <noreply@github.com>2024-07-16 21:48:45 +0200
commit66ce3d76d87af3f81cc9dfec4be4704016cb1cdb (patch)
tree16e6e877d0d67f7eb014ed463e17e7fb793eaf67 /yt_dlp/YoutubeDL.py
parent39e6c4cb44b9292e89ac0afec3cd0afc2ae8775f (diff)
[core] Fix `noprogress` if `test=True` with `--quiet` and `--verbose` (#10454)
Authored by: Grub4K
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index fd5aa0118..503dcb112 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -3168,11 +3168,12 @@ class YoutubeDL:
if test:
verbose = self.params.get('verbose')
+ quiet = self.params.get('quiet') or not verbose
params = {
'test': True,
- 'quiet': self.params.get('quiet') or not verbose,
+ 'quiet': quiet,
'verbose': verbose,
- 'noprogress': not verbose,
+ 'noprogress': quiet,
'nopart': True,
'skip_unavailable_fragments': False,
'keep_fragments': False,