fix alternate audio

Authored by: bashonly
pull/12714/head
bashonly 1 month ago
parent aef0c4b916
commit 2ff5efcbd9
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -2193,7 +2193,7 @@ class InfoExtractor:
'quality': quality,
'has_drm': has_drm,
'vcodec': 'none' if is_audio else None,
'source_preference': -2 if is_alternate else None,
'source_preference': -2 if is_audio and is_alternate else None,
# Save this to assign source_preference based on associated video stream
'_audio_group_id': group_id if is_audio and not is_alternate else None,
} for idx in _extract_m3u8_playlist_indices(manifest_url))

Loading…
Cancel
Save