From 805b8619c1b8c56e08c927d93293c06e1075b50d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 Jan 2021 16:28:55 +0100 Subject: Fix (again) youtube import --- server/controllers/api/videos/import.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts index 9702e219a..96499dffb 100644 --- a/server/controllers/api/videos/import.ts +++ b/server/controllers/api/videos/import.ts @@ -220,8 +220,7 @@ async function addYoutubeDLImport (req: express.Request, res: express.Response) videoImportId: videoImport.id, generateThumbnail: !thumbnailModel, generatePreview: !previewModel, - fileExt: `.${youtubeDLInfo.ext || 'mp4'}`, - mergeExt: youtubeDLInfo.mergeExt ? `.${youtubeDLInfo.mergeExt}` : '' + fileExt: `.${youtubeDLInfo.ext || 'mp4'}` } await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload }) -- cgit v1.2.3