diff --git a/xklb/tube_backend.py b/xklb/tube_backend.py index f3f1c232..5f25137c 100644 --- a/xklb/tube_backend.py +++ b/xklb/tube_backend.py @@ -349,6 +349,9 @@ def out_dir(p): }, } + if args.verbose >= consts.LOG_DEBUG: + func_opts["progress_hooks"] = [lambda d: log.debug(f"downloading {d['_percent_str']} {d['_speed_str']}")] + if args.profile != DBType.audio: func_opts["subtitlesformat"] = "srt/best" func_opts["subtitleslangs"] = args.subtitle_languages