aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/downloader/rtmp.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-06-09 20:23:20 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-06-09 20:23:20 +0200
commit23566e0d783367dc92c0bfc7f907ef63e1ade658 (patch)
tree2d5bc12c68222aed79cf1b9ab1a8e55a6a51a483 /youtube_dl/downloader/rtmp.py
parent828553b614e091c181a519db9c451c133011016b (diff)
downloadyoutube-dl-23566e0d783367dc92c0bfc7f907ef63e1ade658.zip
youtube-dl-23566e0d783367dc92c0bfc7f907ef63e1ade658.tar.gz
youtube-dl-23566e0d783367dc92c0bfc7f907ef63e1ade658.tar.bz2
rtmp and hls downloaders: Clarify error message when the external tools are not installed
Ask to install them, as we do in the postprocessor. We get some reports with it, like #3061 or #3048.
Diffstat (limited to 'youtube_dl/downloader/rtmp.py')
-rw-r--r--youtube_dl/downloader/rtmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py
index cc6a841..6864670 100644
--- a/youtube_dl/downloader/rtmp.py
+++ b/youtube_dl/downloader/rtmp.py
@@ -106,7 +106,7 @@ class RtmpFD(FileDownloader):
try:
subprocess.call(['rtmpdump', '-h'], stdout=(open(os.path.devnull, 'w')), stderr=subprocess.STDOUT)
except (OSError, IOError):
- self.report_error('RTMP download detected but "rtmpdump" could not be run')
+ self.report_error('RTMP download detected but "rtmpdump" could not be run. Please install it.')
return False
# Download using rtmpdump. rtmpdump returns exit code 2 when