Ensure we don't move live to object storage

pull/4650/head
Chocobozzz 2021-12-17 14:55:12 +01:00
parent 9d9a37330c
commit 709565486f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 0 deletions

View File

@ -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()