[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 @@ def real_download(self, filename, info_dict):
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)