[beatenpro] Use generic format sort

pull/8/head
Sergey M․ 10 years ago
parent b7a0304d92
commit 1b53778175

@ -77,7 +77,7 @@ class BeatportProIE(InfoExtractor):
fmt['abr'] = 96 fmt['abr'] = 96
fmt['asr'] = 44100 fmt['asr'] = 44100
formats += [fmt] formats += [fmt]
formats.sort(key=lambda f: f['preference']) self._sort_formats(formats)
# Get album art as thumbnails # Get album art as thumbnails
imgs = [] imgs = []

Loading…
Cancel
Save