diff options
Diffstat (limited to 'scripts/migrations')
-rw-r--r-- | scripts/migrations/peertube-4.0.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/migrations/peertube-4.0.ts b/scripts/migrations/peertube-4.0.ts index 387f6dc9c..abf431888 100644 --- a/scripts/migrations/peertube-4.0.ts +++ b/scripts/migrations/peertube-4.0.ts | |||
@@ -43,7 +43,7 @@ async function processVideo (videoId: number) { | |||
43 | const video = await VideoModel.loadWithFiles(videoId) | 43 | const video = await VideoModel.loadWithFiles(videoId) |
44 | 44 | ||
45 | const hls = video.getHLSPlaylist() | 45 | const hls = video.getHLSPlaylist() |
46 | if (!hls || hls.playlistFilename !== 'master.m3u8' || hls.VideoFiles.length === 0) { | 46 | if (video.isLive || !hls || hls.playlistFilename !== 'master.m3u8' || hls.VideoFiles.length === 0) { |
47 | return | 47 | return |
48 | } | 48 | } |
49 | 49 | ||