diff options
author | Simon Sawicki <contact@grub4k.xyz> | 2025-02-20 20:33:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 20:33:31 +0100 |
commit | f7a1f2d8132967a62b0f6d5665c6d2dde2d42c09 (patch) | |
tree | 14cd5ae857c108acd0acf035860f2684e7e1144d /yt_dlp/postprocessor/common.py | |
parent | 9deed13d7cce6d3647379e50589c92de89227509 (diff) |
[core] Support emitting ConEmu progress codes (#10649)
Authored by: Grub4K
Diffstat (limited to 'yt_dlp/postprocessor/common.py')
-rw-r--r-- | yt_dlp/postprocessor/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/common.py b/yt_dlp/postprocessor/common.py index be2bb33f6..f0a71c1ff 100644 --- a/yt_dlp/postprocessor/common.py +++ b/yt_dlp/postprocessor/common.py @@ -10,6 +10,7 @@ from ..utils import ( _configuration_args, deprecation_warning, ) +from ..utils._utils import _ProgressState class PostProcessorMetaClass(type): @@ -189,7 +190,7 @@ class PostProcessor(metaclass=PostProcessorMetaClass): self._downloader.to_console_title(self._downloader.evaluate_outtmpl( progress_template.get('postprocess-title') or 'yt-dlp %(progress._default_template)s', - progress_dict)) + progress_dict), _ProgressState.from_dict(s), s.get('_percent')) def _retry_download(self, err, count, retries): # While this is not an extractor, it behaves similar to one and |