From f008688520ad0fadcf80601ce193d352cc0d4bd3 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Mon, 20 May 2013 11:54:21 +0200 Subject: [PATCH] make rtmpdump inherit the verbose option for debugging --- youtube_dl/FileDownloader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 75fe0eea9d..49f3a87126 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: