aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-24 16:13:45 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-24 16:13:45 +0200
commite82c1e9a6e709502acc683fb90864f7611d96d07 (patch)
treea468c467baa2e243390775ede3f7e34e37d59f55
parent1ede5b2481a271fcfd0e179a494ef84cca2576b7 (diff)
[YoutubeDL] Do not apply playlist info to videos when extract_flat is set (#4003)
-rwxr-xr-xyoutube_dl/YoutubeDL.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 623f9d6fe..6aa1fd105 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -574,7 +574,6 @@ class YoutubeDL(object):
extract_flat = self.params.get('extract_flat', False)
if ((extract_flat == 'in_playlist' and 'playlist' in extra_info) or
extract_flat is True):
- self.add_extra_info(ie_result, extra_info)
if self.params.get('forcejson', False):
self.to_stdout(json.dumps(ie_result))
return ie_result