1
0
Fork 0

[extractor] Extract more metadata from ISM

Fixes 81b6102d20 (r105892531)
This commit is contained in:
pukkandan 2023-03-24 21:53:06 +05:30
commit f68434cc74
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
2 changed files with 38 additions and 80 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,