projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a0304
)
[beatenpro] Use generic format sort
author
Sergey M․
<dstftw@gmail.com>
Fri, 13 Mar 2015 15:51:49 +0000
(21:51 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 13 Mar 2015 15:51:49 +0000
(21:51 +0600)
youtube_dl/extractor/beatportpro.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/beatportpro.py
b/youtube_dl/extractor/beatportpro.py
index c3c70fb33a321ff6cbab8a5774bba12a30ceb562..bc201572ec7d677504997159bb7b90f8cbbf906d 100644
(file)
--- 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 = []