aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/import.ts2
1 files changed, 0 insertions, 2 deletions
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)
218 const payload = { 218 const payload = {
219 type: 'youtube-dl' as 'youtube-dl', 219 type: 'youtube-dl' as 'youtube-dl',
220 videoImportId: videoImport.id, 220 videoImportId: videoImport.id,
221 generateThumbnail: !thumbnailModel,
222 generatePreview: !previewModel,
223 fileExt: `.${youtubeDLInfo.ext || 'mp4'}` 221 fileExt: `.${youtubeDLInfo.ext || 'mp4'}`
224 } 222 }
225 await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload }) 223 await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload })