Fix live update error
This commit is contained in:
parent
219e18c944
commit
907ba7e270
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,9 @@ async function updateVideo (req: express.Request, res: express.Response) {
|
|||
return { videoInstanceUpdated, isNewVideo }
|
||||
})
|
||||
|
||||
if (videoInfoToUpdate.name) await updateTorrentsMetadata(videoInstanceUpdated)
|
||||
if (videoInstanceUpdated.isLive !== true && videoInfoToUpdate.name) {
|
||||
await updateTorrentsMetadata(videoInstanceUpdated)
|
||||
}
|
||||
|
||||
await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t))
|
||||
|
||||
|
|
Loading…
Reference in a new issue