aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/rtmp.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-07-21 22:58:43 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-07-22 04:30:11 +0530
commit3ba7740dd841ebcfe8f47612eac30d3b470fa93d (patch)
tree3c7df3c6d545e2d9b5006b66d807cee3501068ba /yt_dlp/downloader/rtmp.py
parent29b208f6f9cc7b1c33d32c960e71f4b27eaa1d77 (diff)
downloadhypervideo-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/rtmp.py')
-rw-r--r--yt_dlp/downloader/rtmp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/downloader/rtmp.py b/yt_dlp/downloader/rtmp.py
index 99158e621..6dca64725 100644
--- a/yt_dlp/downloader/rtmp.py
+++ b/yt_dlp/downloader/rtmp.py
@@ -66,7 +66,7 @@ class RtmpFD(FileDownloader):
'eta': eta,
'elapsed': time_now - start,
'speed': speed,
- })
+ }, info_dict)
cursor_in_new_line = False
else:
# no percent for live streams
@@ -82,7 +82,7 @@ class RtmpFD(FileDownloader):
'status': 'downloading',
'elapsed': time_now - start,
'speed': speed,
- })
+ }, info_dict)
cursor_in_new_line = False
elif self.params.get('verbose', False):
if not cursor_in_new_line:
@@ -208,7 +208,7 @@ class RtmpFD(FileDownloader):
'filename': filename,
'status': 'finished',
'elapsed': time.time() - started,
- })
+ }, info_dict)
return True
else:
self.to_stderr('\n')