[YoutubeDL] Skip postprocessing and archive report when outputting to stdout (Closes #8729)

This commit is contained in:
Sergey M․ 2016-03-02 21:11:18 +06:00
parent 85ca019d96
commit e38cafe986

View file

@ -1631,7 +1631,7 @@ def compatible_formats(formats):
self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded)) self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))
return return
if success: if success and filename != '-':
# Fixup content # Fixup content
fixup_policy = self.params.get('fixup') fixup_policy = self.params.get('fixup')
if fixup_policy is None: if fixup_policy is None: