aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-30 19:22:15 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-30 19:22:15 +0600
commit09104e9930cff6cc5e9d3ab1951fdbcbb5e96840 (patch)
tree51f5942416a461a15f582d4cc98fbede00c564cc /youtube_dl/downloader
parent5fa1702ca6d8a57b4f0ff108c6fe7488d09b448c (diff)
[downloader/f4m] Add live stream flag to context
Now download progress for f4m livestreams is reported correctly
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/f4m.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index f8da04f69..581fa7b71 100644
--- a/youtube_dl/downloader/f4m.py
+++ b/youtube_dl/downloader/f4m.py
@@ -332,6 +332,7 @@ class F4mFD(FragmentFD):
ctx = {
'filename': filename,
'total_frags': total_frags,
+ 'live': live,
}
self._prepare_frag_download(ctx)