mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Guess if we need to generate the thumbnail for imports
This commit is contained in:
parent
06bee93748
commit
e3b4c084cd
3 changed files with 6 additions and 19 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue