From 9c84bf515691bad77ea4befbaf1f866c11c5dadd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Mar 2023 11:53:06 +0100 Subject: Don't process live when moving to external storage --- scripts/create-move-video-storage-job.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') 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 () { for (const id of ids) { const videoFull = await VideoModel.loadFull(id) + if (videoFull.isLive) continue + const files = videoFull.VideoFiles || [] const hls = videoFull.getHLSPlaylist() -- cgit v1.2.3