api/youtube: fix audio dub track detection

This commit is contained in:
wukko 2024-08-25 14:48:46 +06:00
parent 6dcd951e21
commit a589bf7e54
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -227,7 +227,7 @@ export default async function(o) {
&& i.audio_track
)
if (dubbedAudio) {
if (dubbedAudio && !dubbedAudio?.audio_track?.audio_is_default) {
audio = dubbedAudio;
isDubbed = true;
}