1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-05 01:44:33 +01: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)