From: Jaime Marquínez Ferrándiz Date: Wed, 27 Aug 2014 13:50:03 +0000 (+0200) Subject: [downloader/hls] Return False if ffmpeg or avconv couldn't be found X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=baf2907501b676df04f98e0ebf8bfaf4ace6e791;hp=3c765c68c48ccee617ea777214327022e01f715a;p=youtube-dl [downloader/hls] Return False if ffmpeg or avconv couldn't be found --- diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 40d854aa3..32852f333 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -24,6 +24,7 @@ class HlsFD(FileDownloader): break else: self.report_error(u'm3u8 download detected but ffmpeg or avconv could not be found. Please install one.') + return False cmd = [program] + args retval = subprocess.call(cmd)