diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-25 15:18:40 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-25 15:18:40 +0100 |
commit | 7217e148fb03ea27edb12a878c959ebefec4c6c3 (patch) | |
tree | 74281d50173c15a0b88880c4ba18f7303548a58f /youtube_dl/YoutubeDL.py | |
parent | b874fe2da8defdd5fd945e87d746f52ef52a40f2 (diff) |
[yahoo] Use centralized sorting, and add tbr field
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 88f4b11f6..a9a3639d7 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1018,6 +1018,8 @@ class YoutubeDL(object): res += u'(unsupported) ' if fdict.get('format_note') is not None: res += fdict['format_note'] + u' ' + if fdict.get('tbr') is not None: + res += u'%4dk ' % fdict['tbr'] if (fdict.get('vcodec') is not None and fdict.get('vcodec') != 'none'): res += u'%-5s@' % fdict['vcodec'] |