aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/create-move-video-storage-job.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts
index 505bbd61b..699487f72 100644
--- a/scripts/create-move-video-storage-job.ts
+++ b/scripts/create-move-video-storage-job.ts
@@ -57,6 +57,11 @@ async function run () {
57 process.exit(-1) 57 process.exit(-1)
58 } 58 }
59 59
60 if (video.isLive) {
61 console.error('Cannot process live video')
62 process.exit(-1)
63 }
64
60 ids.push(video.id) 65 ids.push(video.id)
61 } else { 66 } else {
62 ids = await VideoModel.listLocalIds() 67 ids = await VideoModel.listLocalIds()