Browse Source

[core] Fix `noprogress` if `test=True` with `--quiet` and `--verbose` (#10454)

Authored by: Grub4K
Simon Sawicki 7 months ago
parent
commit
66ce3d76d8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      yt_dlp/YoutubeDL.py

+ 3 - 2
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,