From: Philipp Hagemeister Date: Tue, 17 Feb 2015 16:35:03 +0000 (+0100) Subject: [hls] Switch to available as a property X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8ac27a68e618ecc789bbef4dd0eb408324498fdd;p=youtube-dl [hls] Switch to available as a property --- diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 3650d715e..8be4f4249 100644 --- 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()