0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

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

Authored by: Grub4K
This commit is contained in:
Simon Sawicki 2024-07-16 21:48:45 +02:00 committed by GitHub
parent 39e6c4cb44
commit 66ce3d76d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3168,11 +3168,12 @@ def dl(self, name, info, subtitle=False, test=False):
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,