From baf2907501b676df04f98e0ebf8bfaf4ace6e791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Wed, 27 Aug 2014 15:50:03 +0200 Subject: [PATCH] [downloader/hls] Return False if ffmpeg or avconv couldn't be found --- youtube_dl/downloader/hls.py | 1 + 1 file changed, 1 insertion(+) 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 @@ def real_download(self, filename, info_dict): 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)