[breakcom] Process only play purpose media formats (Closes #5164)

pull/5168/head
Sergey M․ 9 years ago
parent cc08b11d16
commit dd7831fe94

@ -41,7 +41,7 @@ class BreakIE(InfoExtractor):
'tbr': media['bitRate'], 'tbr': media['bitRate'],
'width': media['width'], 'width': media['width'],
'height': media['height'], 'height': media['height'],
} for media in info['media']] } for media in info['media'] if media.get('mediaPurpose') == 'play']
if not formats: if not formats:
formats.append({ formats.append({

Loading…
Cancel
Save