X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fapi%2Fvideos%2Findex.ts;h=7f5e74626e401714667d6be9c53d702e04116250;hb=0c948c1659c0a6010f2bf58c402b1c9af192aa5e;hp=05fd79e672156ff6cff4db21280bccf975bcd62c;hpb=6200d8d91710b03a72a27e35cbe6eed1e6cc8c62;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 05fd79e67..7f5e74626 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts @@ -267,7 +267,8 @@ async function addVideo (req: express.Request, res: express.Response, videoPhysi if (CONFIG.TRANSCODING.ENABLED === true) { // Put uuid because we don't have id auto incremented for now const dataInput = { - videoUUID: videoCreated.uuid + videoUUID: videoCreated.uuid, + isNewVideo: true } await JobQueue.Instance.createJob({ type: 'video-file', payload: dataInput })