[YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes...
authorSergey M․ <dstftw@gmail.com>
Wed, 2 Mar 2016 15:11:18 +0000 (21:11 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 2 Mar 2016 15:11:18 +0000 (21:11 +0600)
youtube_dl/YoutubeDL.py

index f4324039c72ec656f67bf536ee7856aae464cc01..8f3a8b9e301a1b075ab0490993a65de075378730 100755 (executable)
@@ -1631,7 +1631,7 @@ class YoutubeDL(object):
                 self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))
                 return
 
-            if success:
+            if success and filename != '-':
                 # Fixup content
                 fixup_policy = self.params.get('fixup')
                 if fixup_policy is None: