mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Metadata to know if the caption is auto generated
This commit is contained in:
parent
1bfb791e05
commit
fd4831e502
22 changed files with 101 additions and 29 deletions
|
@ -81,7 +81,12 @@ async function createVideoCaption (req: express.Request, res: express.Response)
|
|||
|
||||
const captionLanguage = req.params.captionLanguage
|
||||
|
||||
const videoCaption = await createLocalCaption({ video, language: captionLanguage, path: videoCaptionPhysicalFile.path })
|
||||
const videoCaption = await createLocalCaption({
|
||||
video,
|
||||
language: captionLanguage,
|
||||
path: videoCaptionPhysicalFile.path,
|
||||
automaticallyGenerated: false
|
||||
})
|
||||
|
||||
await sequelizeTypescript.transaction(async t => {
|
||||
await federateVideoIfNeeded(video, false, t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue