|
Line 0
Link Here
|
|
|
1 |
--- youtube-dl.orig 2010-11-21 16:27:42.000000000 +0000 |
| 2 |
+++ youtube-dl 2010-11-21 16:28:42.000000000 +0000 |
| 3 |
@@ -509,7 +509,7 @@ |
| 4 |
# Download using rtmpdump. rtmpdump returns exit code 2 when |
| 5 |
# the connection was interrumpted and resuming appears to be |
| 6 |
# possible. This is part of rtmpdump's normal usage, AFAIK. |
| 7 |
- basic_args = ['rtmpdump', '-q'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename] |
| 8 |
+ basic_args = ['rtmpdump'] + [[], ['-q']][self.params.get('quiet', False)] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename] |
| 9 |
retval = subprocess.call(basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)]) |
| 10 |
while retval == 2 or retval == 1: |
| 11 |
prevsize = os.path.getsize(filename) |