mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cleanup] Misc fixes and cleanup
Closes #3780, Closes #3853, Closes #3850
This commit is contained in:
		| @@ -176,6 +176,8 @@ class PostProcessor(metaclass=PostProcessorMetaClass): | ||||
| 
 | ||||
|     def report_progress(self, s): | ||||
|         s['_default_template'] = '%(postprocessor)s %(status)s' % s | ||||
|         if not self._downloader: | ||||
|             return | ||||
| 
 | ||||
|         progress_dict = s.copy() | ||||
|         progress_dict.pop('info_dict') | ||||
| @@ -184,7 +186,8 @@ class PostProcessor(metaclass=PostProcessorMetaClass): | ||||
|         progress_template = self.get_param('progress_template', {}) | ||||
|         tmpl = progress_template.get('postprocess') | ||||
|         if tmpl: | ||||
|             self._downloader.to_stdout(self._downloader.evaluate_outtmpl(tmpl, progress_dict)) | ||||
|             self._downloader.to_screen( | ||||
|                 self._downloader.evaluate_outtmpl(tmpl, progress_dict), skip_eol=True, quiet=False) | ||||
| 
 | ||||
|         self._downloader.to_console_title(self._downloader.evaluate_outtmpl( | ||||
|             progress_template.get('postprocess-title') or 'yt-dlp %(progress._default_template)s', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan