ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't process live in migration script
Chocobozzzd91be8acd79b
diff --git a/scripts/migrations/peertube-4.0.ts b/scripts/migrations/peertube-4.0.tsindex 387f6dc9c2..abf431888f 100644--- a/scripts/migrations/peertube-4.0.ts+++ b/scripts/migrations/peertube-4.0.ts@@ -43,7 +43,7 @@ async function processVideo (videoId: number) {const video = await VideoModel.loadWithFiles(videoId)const hls = video.getHLSPlaylist()- if (!hls || hls.playlistFilename !== 'master.m3u8' || hls.VideoFiles.length === 0) {+ if (video.isLive || !hls || hls.playlistFilename !== 'master.m3u8' || hls.VideoFiles.length === 0) {return}