1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 23:43:21 -04:00

[formatsort] Remove forced priority of quality

When making `FormatSort`, I misinterpreted the purpose `quality`
This commit is contained in:
pukkandan
2021-02-18 23:42:56 +05:30
parent da9be05edf
commit dca3ff4a5e
5 changed files with 14 additions and 12 deletions

View File

@@ -168,7 +168,9 @@ class ArteTVIE(ArteTVBaseIE):
formats.append(format)
self._sort_formats(formats)
# For this extractor, quality only represents the relative quality
# with respect to other formats with the same resolution
self._sort_formats(formats, ('res', 'quality'))
return {
'id': player_info.get('VID') or video_id,