mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-13 19:55:25 +00:00
[fd/sabr] report destination of format files
This commit is contained in:
@@ -178,6 +178,11 @@ class SabrFD(FileDownloader):
|
||||
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'),
|
||||
|
||||
Reference in New Issue
Block a user