From 9f15f3b98b0d64dffc186cda4e71b3148129e9a1 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Tue, 24 Jun 2025 19:52:48 +1200 Subject: [PATCH] [fd/sabr] report destination of format files --- yt_dlp/downloader/sabr/_fd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yt_dlp/downloader/sabr/_fd.py b/yt_dlp/downloader/sabr/_fd.py index ff70d0d6a..12eef281f 100644 --- a/yt_dlp/downloader/sabr/_fd.py +++ b/yt_dlp/downloader/sabr/_fd.py @@ -178,6 +178,11 @@ def _download_sabr_stream( self, caption_format.get('filename'), caption_format['info_dict'], len(writers), resume=resume) + # Report the destination files before we start downloading instead of when we initialize the writers, + # as the formats may not all start at the same time (leading to messy output) + for writer in writers.values(): + self.report_destination(writer.filename) + stream = SabrStream( urlopen=self.ydl.urlopen, logger=create_sabrfd_logger(self.ydl, prefix='sabr:stream'),