mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 18:16:44 +00:00
[YoutubeDL] Do not show worst in --list-formats output
Nobody wants to know what the worst possible format is. And if they do, they can still provide -f worst.
This commit is contained in:
parent
1309b396d0
commit
43f244b6d5
1 changed files with 0 additions and 1 deletions
|
@ -1546,7 +1546,6 @@ class YoutubeDL(object):
|
||||||
line(f, idlen) for f in formats
|
line(f, idlen) for f in formats
|
||||||
if f.get('preference') is None or f['preference'] >= -1000]
|
if f.get('preference') is None or f['preference'] >= -1000]
|
||||||
if len(formats) > 1:
|
if len(formats) > 1:
|
||||||
formats_s[0] += (' ' if self._format_note(formats[0]) else '') + '(worst)'
|
|
||||||
formats_s[-1] += (' ' if self._format_note(formats[-1]) else '') + '(best)'
|
formats_s[-1] += (' ' if self._format_note(formats[-1]) else '') + '(best)'
|
||||||
|
|
||||||
header_line = line({
|
header_line = line({
|
||||||
|
|
Loading…
Reference in a new issue