]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[iprima] Use centralized format sorting
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 4 Feb 2014 09:24:00 +0000 (10:24 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 4 Feb 2014 09:24:00 +0000 (10:24 +0100)
youtube_dl/extractor/iprima.py

index 95557ff10d05fc3c50399d6de05fb9d4ae1ff9a9..dde4829981a7adab396a040ccc1566277c39194b 100644 (file)
@@ -72,7 +72,9 @@ class IPrimaIE(InfoExtractor):
                 'play_path': 'mp4:'+filename.replace('"', '')[:-4],
                 'rtmp_live': True,
                 'ext': 'flv',
-                })
+            })
+
+        self._sort_formats(formats)
 
         return {
             'id': real_id,
@@ -80,4 +82,4 @@ class IPrimaIE(InfoExtractor):
             'thumbnail': self._og_search_thumbnail(webpage),
             'formats': formats,
             'description': self._og_search_description(webpage),
-        }
\ No newline at end of file
+        }