aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-03-24 21:53:06 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-03-25 13:18:21 +0530
commitf68434cc74cfd3db01b266476a2eac8329fbb267 (patch)
tree5627c6ac73ac2121199a925d8b064abb6e36e694 /yt_dlp/extractor/common.py
parentbaa922b5c74b10e3b86ff5e6cf6529b3aae8efab (diff)
downloadhypervideo-pre-f68434cc74cfd3db01b266476a2eac8329fbb267.tar.lz
hypervideo-pre-f68434cc74cfd3db01b266476a2eac8329fbb267.tar.xz
hypervideo-pre-f68434cc74cfd3db01b266476a2eac8329fbb267.zip
[extractor] Extract more metadata from ISM
Fixes https://github.com/yt-dlp/yt-dlp/commit/81b6102d2099eec78a2db9ae3d101a8503dd4f25#r105892531
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 5da12725a..838899052 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -2983,6 +2983,8 @@ class InfoExtractor:
'protocol': 'ism',
'fragments': fragments,
'has_drm': ism_doc.find('Protection') is not None,
+ 'language': stream_language,
+ 'audio_channels': int_or_none(track.get('Channels')),
'_download_params': {
'stream_type': stream_type,
'duration': duration,