From 709565486f86ce9ee553e2e45372ce8226a782fb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Dec 2021 14:55:12 +0100 Subject: Ensure we don't move live to object storage --- scripts/create-move-video-storage-job.ts | 5 +++++ 1 file changed, 5 insertions(+) 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 () { process.exit(-1) } + if (video.isLive) { + console.error('Cannot process live video') + process.exit(-1) + } + ids.push(video.id) } else { ids = await VideoModel.listLocalIds() -- cgit v1.2.3