]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/YoutubeDL.py
[yahoo] Use centralized sorting, and add tbr field
[youtube-dl.git] / youtube_dl / YoutubeDL.py
index 88f4b11f654360abc582fa3b5df62823b8377990..a9a3639d7f7a32053990f0b41e487b837a704767 100644 (file)
@@ -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']