mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat: Support auto-dubbed audio tracks (#786)
This commit is contained in:
@@ -428,7 +428,7 @@ function getTrackRoles(format: Format, has_drc_streams: boolean) {
|
||||
format.is_original ? 'main' : 'alternate'
|
||||
];
|
||||
|
||||
if (format.is_dubbed)
|
||||
if (format.is_dubbed || format.is_auto_dubbed)
|
||||
roles.push('dub');
|
||||
|
||||
if (format.is_descriptive)
|
||||
|
||||
Reference in New Issue
Block a user