diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2016-01-01 13:28:45 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2016-01-01 13:28:45 +0100 |
commit | 32f9036447d1211f9ce0750203d71671f0ee99dc (patch) | |
tree | 14b5c9387edc94a06dc7954f51ed309c5be89cb0 /youtube_dl/YoutubeDL.py | |
parent | 190ef0798103908d986e07f54323299084726d42 (diff) |
[ccc] Add language information to formats
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 50425b8d7..3b2be3159 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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: |