mirror of https://github.com/Chocobozzz/PeerTube
Don't process live in migration script
parent
63e4d84f11
commit
d91be8acd7
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue