[piksel] Fix sorting

This commit is contained in:
pukkandan committed 2021-11-05 20:39:16 +05:30
1 parent a9d4da606d
commit df6c409d1f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ class NhkBaseIE(InfoExtractor):
m3u8_id='hls', fatal=False)
for f in info['formats']:
f['language'] = lang
self._sort_formats(info['formats'])
else:
info.update({
'_type': 'url_transparent',
+1 -1
View File
@@ -167,7 +167,7 @@ class PikselIE(InfoExtractor):
re.sub(r'/od/[^/]+/', '/od/http/', smil_url), video_id,
transform_source=transform_source, fatal=False))
self._sort_formats(formats)
self._sort_formats(formats, ('tbr', )) # Incomplete resolution information
subtitles = {}
for caption in video_data.get('captions', []):