aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-13 21:51:49 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-13 21:51:49 +0600
commit1b53778175e43e2bf2cb71885a760d96727ee837 (patch)
tree07facf48507725e57c5e27aea445011255438579
parentb7a0304d920d994864be0dee80143952e9411220 (diff)
[beatenpro] Use generic format sort
-rw-r--r--youtube_dl/extractor/beatportpro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/beatportpro.py b/youtube_dl/extractor/beatportpro.py
index c3c70fb33..bc201572e 100644
--- a/youtube_dl/extractor/beatportpro.py
+++ b/youtube_dl/extractor/beatportpro.py
@@ -77,7 +77,7 @@ class BeatportProIE(InfoExtractor):
fmt['abr'] = 96
fmt['asr'] = 44100
formats += [fmt]
- formats.sort(key=lambda f: f['preference'])
+ self._sort_formats(formats)
# Get album art as thumbnails
imgs = []