1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[beatenpro] Use generic format sort

This commit is contained in:
Sergey M․ 2015-03-13 21:51:49 +06:00
parent b7a0304d92
commit 1b53778175

View file

@ -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 = []