소스 검색

[downloader/f4m] Add live stream flag to context

Now download progress for f4m livestreams is reported correctly
Sergey M․ 9 년 전
부모
커밋
09104e9930
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      youtube_dl/downloader/f4m.py

+ 1 - 0
youtube_dl/downloader/f4m.py

@@ -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)