]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[downloader/f4m] Add live stream flag to context
authorSergey M․ <dstftw@gmail.com>
Sat, 30 Jan 2016 13:22:15 +0000 (19:22 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 30 Jan 2016 13:22:15 +0000 (19:22 +0600)
Now download progress for f4m livestreams is reported correctly

youtube_dl/downloader/f4m.py

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