mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[arte.tv:+7] Append media type to format_id (Closes #3967)
This commit is contained in:
parent
9471c44405
commit
f9befee1f5
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ def _format(format_info):
|
|||
format_id = '%s-%s' % (quality, format_info['versionCode'])
|
||||
else:
|
||||
format_id = quality
|
||||
media_type = format_info.get('mediaType')
|
||||
if media_type is not None:
|
||||
format_id += '-%s' % media_type
|
||||
info = {
|
||||
'format_id': format_id,
|
||||
'format_note': format_info.get('versionLibelle'),
|
||||
|
|
Loading…
Reference in a new issue