[crunchyroll] Sort formats
authorSergey M․ <dstftw@gmail.com>
Fri, 29 Apr 2016 13:44:10 +0000 (19:44 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 29 Apr 2016 13:44:10 +0000 (19:44 +0600)
youtube_dl/extractor/crunchyroll.py

index 58960b2f82bc76731e86ed319f3fc68fd818cfa9..90a64303d3282c925d1620787922622e99a8b612 100644 (file)
@@ -367,6 +367,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
                 'ext': 'flv',
             })
             formats.append(format_info)
+        self._sort_formats(formats)
 
         metadata = self._download_xml(
             'http://www.crunchyroll.com/xml', video_id,