diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-07-21 22:58:43 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-07-22 04:30:11 +0530 |
commit | 3ba7740dd841ebcfe8f47612eac30d3b470fa93d (patch) | |
tree | 3c7df3c6d545e2d9b5006b66d807cee3501068ba /yt_dlp/downloader/ism.py | |
parent | 29b208f6f9cc7b1c33d32c960e71f4b27eaa1d77 (diff) | |
download | hypervideo-pre-3ba7740dd841ebcfe8f47612eac30d3b470fa93d.tar.lz hypervideo-pre-3ba7740dd841ebcfe8f47612eac30d3b470fa93d.tar.xz hypervideo-pre-3ba7740dd841ebcfe8f47612eac30d3b470fa93d.zip |
[downloader] Pass `info_dict` to `progress_hook`s
Diffstat (limited to 'yt_dlp/downloader/ism.py')
-rw-r--r-- | yt_dlp/downloader/ism.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/downloader/ism.py b/yt_dlp/downloader/ism.py index 07d74aef0..09516abe5 100644 --- a/yt_dlp/downloader/ism.py +++ b/yt_dlp/downloader/ism.py @@ -246,7 +246,7 @@ class IsmFD(FragmentFD): 'total_frags': len(segments), } - self._prepare_and_start_frag_download(ctx) + self._prepare_and_start_frag_download(ctx, info_dict) extra_state = ctx.setdefault('extra_state', { 'ism_track_written': False, @@ -284,6 +284,6 @@ class IsmFD(FragmentFD): self.report_error('giving up after %s fragment retries' % fragment_retries) return False - self._finish_frag_download(ctx) + self._finish_frag_download(ctx, info_dict) return True |