Ensure we don't move live to object storage
This commit is contained in:
parent
9d9a37330c
commit
709565486f
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@ async function run () {
|
||||||
process.exit(-1)
|
process.exit(-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (video.isLive) {
|
||||||
|
console.error('Cannot process live video')
|
||||||
|
process.exit(-1)
|
||||||
|
}
|
||||||
|
|
||||||
ids.push(video.id)
|
ids.push(video.id)
|
||||||
} else {
|
} else {
|
||||||
ids = await VideoModel.listLocalIds()
|
ids = await VideoModel.listLocalIds()
|
||||||
|
|
Loading…
Add table
Reference in a new issue