youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 7b8af56340bcc7521bb05da14d2dce6d949ce916
parent 539179f45bbeecefecfec4cba40dde7c7f4a813c
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 25 Dec 2013 15:24:41 +0100

[appletrailers] Use centralized format selection

Diffstat:
Myoutube_dl/extractor/appletrailers.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py @@ -110,7 +110,8 @@ class AppleTrailersIE(InfoExtractor): 'width': format['width'], 'height': int(format['height']), }) - formats = sorted(formats, key=lambda f: (f['height'], f['width'])) + + self._sort_formats(formats) playlist.append({ '_type': 'video',