From: Filippo Valsorda Date: Mon, 20 May 2013 09:54:21 +0000 (+0200) Subject: make rtmpdump inherit the verbose option for debugging X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f008688520ad0fadcf80601ce193d352cc0d4bd3;p=youtube-dl make rtmpdump inherit the verbose option for debugging --- diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 75fe0eea9..49f3a8712 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -763,6 +763,7 @@ class FileDownloader(object): # the connection was interrumpted and resuming appears to be # possible. This is part of rtmpdump's normal usage, AFAIK. basic_args = ['rtmpdump', '-q', '-r', url, '-o', tmpfilename] + if self.params.get('verbose', False): basic_args[1] = '-v' if player_url is not None: basic_args += ['-W', player_url] if page_url is not None: