1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 08:35:32 +00:00

[extractor] Extract more metadata from ISM

Fixes 81b6102d20 (r105892531)
This commit is contained in:
pukkandan
2023-03-24 21:53:06 +05:30
parent baa922b5c7
commit f68434cc74
2 changed files with 49 additions and 91 deletions

View File

@ -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,