youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 133a2b4ac21e041d7ed66c1d0fa00f7dc5f757af
parent d85187eb747b9d32d44ce4f31985432288f4a4f2
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 10 Sep 2015 02:41:30 +0600

[downloader/hls] Properly close stream

Diffstat:
Myoutube_dl/downloader/hls.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py @@ -92,6 +92,7 @@ class NativeHlsFD(FragmentFD): return False down, frag_sanitized = sanitize_open(frag_filename, 'rb') ctx['dest_stream'].write(down.read()) + down.close() frags_filenames.append(frag_sanitized) self._finish_frag_download(ctx)