diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/videos/import.ts | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
220 | videoImportId: videoImport.id, | 220 | videoImportId: videoImport.id, |
221 | generateThumbnail: !thumbnailModel, | 221 | generateThumbnail: !thumbnailModel, |
222 | generatePreview: !previewModel, | 222 | generatePreview: !previewModel, |
223 | fileExt: `.${youtubeDLInfo.ext || 'mp4'}`, | 223 | fileExt: `.${youtubeDLInfo.ext || 'mp4'}` |
224 | mergeExt: youtubeDLInfo.mergeExt ? `.${youtubeDLInfo.mergeExt}` : '' | ||
225 | } | 224 | } |
226 | await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload }) | 225 | await JobQueue.Instance.createJobWithPromise({ type: 'video-import', payload }) |
227 | 226 | ||