mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-20 19:16:06 +03:00
Do not report f_class in format note for audio-only formats
This value often tends to be wrong, since the site defines it for a `master.m3u8` file. But such a file can and will contain multiple different audio streams, some of which do not match what is reported in f_class.
This commit is contained in:
@@ -143,7 +143,9 @@ class ZDFBaseIE(InfoExtractor):
|
||||
**f,
|
||||
'format_id': join_nonempty(f['format_id'], is_dgs and 'dgs'),
|
||||
'format_note': join_nonempty(
|
||||
f_class, is_dgs and 'German Sign Language', f.get('format_note'), delim=', '),
|
||||
has_video and f_class,
|
||||
is_dgs and 'German Sign Language',
|
||||
f.get('format_note'), delim=', '),
|
||||
'preference': -2 if is_dgs else -1,
|
||||
'language': f_lang,
|
||||
'language_preference': (
|
||||
|
||||
Reference in New Issue
Block a user