aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-07 11:53:06 +0100
committerChocobozzz <me@florianbigard.com>2023-03-07 11:53:06 +0100
commit9c84bf515691bad77ea4befbaf1f866c11c5dadd (patch)
tree4653a4ec74aae0765c48bccdfe3fca93b6c5dca0 /scripts
parentf967d8be4dd7bc806d9b9c2d848cdadbe6752c16 (diff)
downloadPeerTube-9c84bf515691bad77ea4befbaf1f866c11c5dadd.tar.gz
PeerTube-9c84bf515691bad77ea4befbaf1f866c11c5dadd.tar.zst
PeerTube-9c84bf515691bad77ea4befbaf1f866c11c5dadd.zip
Don't process live when moving to external storage
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create-move-video-storage-job.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts
index 13ba3c0b7..c402115f0 100644
--- a/scripts/create-move-video-storage-job.ts
+++ b/scripts/create-move-video-storage-job.ts
@@ -72,6 +72,8 @@ async function run () {
72 for (const id of ids) { 72 for (const id of ids) {
73 const videoFull = await VideoModel.loadFull(id) 73 const videoFull = await VideoModel.loadFull(id)
74 74
75 if (videoFull.isLive) continue
76
75 const files = videoFull.VideoFiles || [] 77 const files = videoFull.VideoFiles || []
76 const hls = videoFull.getHLSPlaylist() 78 const hls = videoFull.getHLSPlaylist()
77 79