From e3b4c084cd0935dd93b1d737c4fc88c65ab5bcc1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Feb 2021 09:37:01 +0100 Subject: Guess if we need to generate the thumbnail for imports --- server/controllers/api/videos/import.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts index 96499dffb..01f41e7bc 100644 --- a/server/controllers/api/videos/import.ts +++ b/server/controllers/api/videos/import.ts @@ -218,8 +218,6 @@ async function addYoutubeDLImport (req: express.Request, res: express.Response) const payload = { type: 'youtube-dl' as 'youtube-dl', videoImportId: videoImport.id, - generateThumbnail: !thumbnailModel, - generatePreview: !previewModel, fileExt: `.${youtubeDLInfo.ext || 'mp4'}` } await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload }) -- cgit v1.2.3