Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Ensure we don't move live to object storage

Chocobozzz709565486f86
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts
index 505bbd61b8..699487f72e 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()