]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/__init__.py
Add `--no-quiet`
[yt-dlp.git] / yt_dlp / __init__.py
index bdac1212c69aafef264e0abe7a142008dda10554..79b9a7679f870fe22199efff68d2b9ef2c77c349 100644 (file)
@@ -704,7 +704,8 @@ def parse_options(argv=None):
         'dumpjson', 'dump_single_json', 'getdescription', 'getduration', 'getfilename',
         'getformat', 'getid', 'getthumbnail', 'gettitle', 'geturl'
     ))
-    opts.quiet = opts.quiet or any_getting or opts.print_json or bool(opts.forceprint)
+    if opts.quiet is None:
+        opts.quiet = any_getting or opts.print_json or bool(opts.forceprint)
 
     playlist_pps = [pp for pp in postprocessors if pp.get('when') == 'playlist']
     write_playlist_infojson = (opts.writeinfojson and not opts.clean_infojson