Skip to content

A feature-rich command-line audio/video downloader

[downloader/f4m] Add live stream flag to context

Sergey M․09104e9930cf
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index f8da04f691..581fa7b71d 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)