1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 13:42:37 +00:00

[downloader/f4m] Add live stream flag to context

Now download progress for f4m livestreams is reported correctly
This commit is contained in:
Sergey M․ 2016-01-30 19:22:15 +06:00
parent 5fa1702ca6
commit 09104e9930

View file

@ -332,6 +332,7 @@ class F4mFD(FragmentFD):
ctx = { ctx = {
'filename': filename, 'filename': filename,
'total_frags': total_frags, 'total_frags': total_frags,
'live': live,
} }
self._prepare_frag_download(ctx) self._prepare_frag_download(ctx)