mirror of https://github.com/yt-dlp/yt-dlp.git
[bandcamp] Detect acodec
This commit is contained in:
parent
a10aa588b0
commit
933dbf5a55
|
@ -183,6 +183,7 @@ class BandcampIE(InfoExtractor):
|
||||||
'format_note': f.get('description'),
|
'format_note': f.get('description'),
|
||||||
'filesize': parse_filesize(f.get('size_mb')),
|
'filesize': parse_filesize(f.get('size_mb')),
|
||||||
'vcodec': 'none',
|
'vcodec': 'none',
|
||||||
|
'acodec': format_id.split('-')[0],
|
||||||
})
|
})
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in New Issue