[peertube] Recognize audio-only formats (closes #27295)
This commit is contained in:
parent
c11211efce
commit
c23e70b2e7
|
@ -132,6 +132,8 @@ class PeerTubeSHIE(SelfhostedInfoExtractor):
|
||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
'filesize': file_size,
|
'filesize': file_size,
|
||||||
})
|
})
|
||||||
|
if format_id == '0p':
|
||||||
|
f['vcodec'] = 'none'
|
||||||
formats.append(f)
|
formats.append(f)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue