]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/YoutubeDL.py
[ccc] Add language information to formats
[youtube-dl.git] / youtube_dl / YoutubeDL.py
index 50425b8d7ea4855ddf1c67ce17df715b19cc0fc2..3b2be3159115e907359557178be1238b061ca507 100755 (executable)
@@ -1791,6 +1791,10 @@ class YoutubeDL(object):
         res = ''
         if fdict.get('ext') in ['f4f', 'f4m']:
             res += '(unsupported) '
+        if fdict.get('language'):
+            if res:
+                res += ' '
+            res += '[%s]' % fdict['language']
         if fdict.get('format_note') is not None:
             res += fdict['format_note'] + ' '
         if fdict.get('tbr') is not None: