Browse Source

make rtmpdump inherit the verbose option for debugging

master
Filippo Valsorda 11 years ago
parent
commit
f008688520
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/FileDownloader.py

1
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:

Loading…
Cancel
Save