1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

[fd/sabr] report destination of format files

This commit is contained in:
coletdjnz 2025-06-24 19:52:48 +12:00
parent 2a59336eff
commit 9f15f3b98b
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

View File

@ -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'),