Use user language from req if possible

This commit is contained in:
Chocobozzz
2026-07-13 15:59:23 +02:00
parent 172304686d
commit c8f17b491c
+1 -1
View File
@@ -263,7 +263,7 @@ export async function buildYoutubeDLImport (options: {
})
// Get video subtitles
await processYoutubeSubtitles({ youtubeDL, targetUrl, video, userLanguage: user.getLanguage() })
await processYoutubeSubtitles({ youtubeDL, targetUrl, video, userLanguage })
let fileExt = `.${youtubeDLInfo.ext}`
if (!isVideoFileExtnameValid(fileExt)) fileExt = '.mp4'