logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 8ac27a68e618ecc789bbef4dd0eb408324498fdd
parent 46312e0b46147ff26008eee62b2f9ba47b30fe73
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 17 Feb 2015 17:35:03 +0100

[hls] Switch to available as a property

Diffstat:

Myoutube_dl/downloader/hls.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py @@ -23,7 +23,7 @@ class HlsFD(FileDownloader): tmpfilename = self.temp_name(filename) ffpp = FFmpegPostProcessor(downloader=self) - if not ffpp.available(): + if not ffpp.available: self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.') return False ffpp.check_version()