diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-03-13 21:51:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-03-13 21:51:49 +0600 |
commit | 1b53778175e43e2bf2cb71885a760d96727ee837 (patch) | |
tree | 07facf48507725e57c5e27aea445011255438579 /youtube_dl/extractor | |
parent | b7a0304d920d994864be0dee80143952e9411220 (diff) |
[beatenpro] Use generic format sort
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/beatportpro.py | 2 |
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 = [] |