Merge branch 'release/4.1.0' into develop

pull/4840/head
Chocobozzz 2022-03-04 17:01:02 +01:00
commit ab4b897499
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,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))