From bb800dc389f854b5241c6979063a526ee9320581 Mon Sep 17 00:00:00 2001 From: Raivis Dejus Date: Fri, 11 Oct 2024 08:16:54 +0300 Subject: [PATCH] Removing post processing on uls downloads --- buzz/transcriber/file_transcriber.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/buzz/transcriber/file_transcriber.py b/buzz/transcriber/file_transcriber.py index e0f61901a..6234f167f 100644 --- a/buzz/transcriber/file_transcriber.py +++ b/buzz/transcriber/file_transcriber.py @@ -38,12 +38,6 @@ def run(self): "format": "wav/bestaudio/best", "progress_hooks": [self.on_download_progress], "outtmpl": temp_output_path, - "postprocessors": [ - { - "key": "FFmpegExtractAudio", - "preferredcodec": "wav", - } - ], } ) @@ -55,7 +49,7 @@ def run(self): self.error.emit(exc.msg) return - self.transcription_task.file_path = temp_output_path + ".wav" + self.transcription_task.file_path = temp_output_path logging.debug(f"Downloaded audio to file: {self.transcription_task.file_path}") try: