From 24228dea3cf6c1c781e57acb3654fa8fd2061737 Mon Sep 17 00:00:00 2001 From: Simon Sawicki Date: Fri, 27 Dec 2024 16:31:18 +0100 Subject: [PATCH] oops --- yt_dlp/downloader/common.py | 2 +- yt_dlp/postprocessor/common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.py index 3ac8a7c632..bb9303f8a1 100644 --- a/yt_dlp/downloader/common.py +++ b/yt_dlp/downloader/common.py @@ -334,7 +334,7 @@ class FileDownloader: progress_dict), s.get('progress_idx') or 0) self.to_console_title(self.ydl.evaluate_outtmpl( progress_template.get('download-title') or 'yt-dlp %(progress._default_template)s', - progress_dict), _ProgressState.from_dict(s), s.get('_progress')) + progress_dict), _ProgressState.from_dict(s), s.get('_percent')) def _format_progress(self, *args, **kwargs): return self.ydl._format_text( diff --git a/yt_dlp/postprocessor/common.py b/yt_dlp/postprocessor/common.py index b547c63051..f0a71c1ffe 100644 --- a/yt_dlp/postprocessor/common.py +++ b/yt_dlp/postprocessor/common.py @@ -190,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), _ProgressState.from_dict(s), s.get('_progress')) + 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