X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fcreate-move-video-storage-job.ts;h=c402115f0cab4eeba46f1eaf548fb5c4beee6d4b;hb=b99dc4c21d9829d649c3fe9094de2639686286c4;hp=13ba3c0b77b76e17feb42092ef5c5d366bafb56d;hpb=4404a7c467a2c6863728127eeff5ca4b59619940;p=github%2FChocobozzz%2FPeerTube.git 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()