aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-04 17:01:02 +0100
committerChocobozzz <me@florianbigard.com>2022-03-04 17:01:02 +0100
commitab4b8974997777373a6032073f9c1aaf33ba9931 (patch)
treeff427bf6e7f92f1b8f03945fcf6e184cc2e9c95f
parent28dca0a2211524bbf3ad17666c607eb6325763b8 (diff)
parent907ba7e270b78507a8d9b6aa20da0f6231c37d25 (diff)
downloadPeerTube-ab4b8974997777373a6032073f9c1aaf33ba9931.tar.gz
PeerTube-ab4b8974997777373a6032073f9c1aaf33ba9931.tar.zst
PeerTube-ab4b8974997777373a6032073f9c1aaf33ba9931.zip
Merge branch 'release/4.1.0' into develop
-rw-r--r--server/controllers/api/videos/update.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/controllers/api/videos/update.ts b/server/controllers/api/videos/update.ts
index 8906003fc..15899307d 100644
--- a/server/controllers/api/videos/update.ts
+++ b/server/controllers/api/videos/update.ts
@@ -139,7 +139,9 @@ async function updateVideo (req: express.Request, res: express.Response) {
139 return { videoInstanceUpdated, isNewVideo } 139 return { videoInstanceUpdated, isNewVideo }
140 }) 140 })
141 141
142 if (videoInfoToUpdate.name) await updateTorrentsMetadata(videoInstanceUpdated) 142 if (videoInstanceUpdated.isLive !== true && videoInfoToUpdate.name) {
143 await updateTorrentsMetadata(videoInstanceUpdated)
144 }
143 145
144 await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t)) 146 await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t))
145 147