[crunchyroll] Sort formats

This commit is contained in:
Sergey M․ 2016-04-29 19:44:10 +06:00
parent 8312b1a3d1
commit 00a17a9e12
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

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