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:
parent
2a59336eff
commit
9f15f3b98b
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user