From 43f244b6d51aefac4683d130d70adf94641bf6d8 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 9 Feb 2015 15:57:40 +0100 Subject: [PATCH] [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. --- youtube_dl/YoutubeDL.py | 1 - 1 file changed, 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index c7108dbc1..3975ae0bc 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1546,7 +1546,6 @@ def line(format, idlen=20): line(f, idlen) for f in formats if f.get('preference') is None or f['preference'] >= -1000] 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)' header_line = line({