Browse Source

[iprima] Use centralized format sorting

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
91264ce572
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      youtube_dl/extractor/iprima.py

+ 4
- 2
youtube_dl/extractor/iprima.py View File

@ -72,7 +72,9 @@ class IPrimaIE(InfoExtractor):
'play_path': 'mp4:'+filename.replace('"', '')[:-4], 'play_path': 'mp4:'+filename.replace('"', '')[:-4],
'rtmp_live': True, 'rtmp_live': True,
'ext': 'flv', 'ext': 'flv',
})
})
self._sort_formats(formats)
return { return {
'id': real_id, 'id': real_id,
@ -80,4 +82,4 @@ class IPrimaIE(InfoExtractor):
'thumbnail': self._og_search_thumbnail(webpage), 'thumbnail': self._og_search_thumbnail(webpage),
'formats': formats, 'formats': formats,
'description': self._og_search_description(webpage), 'description': self._og_search_description(webpage),
}
}

Loading…
Cancel
Save