Fix re running HLS transcoding

pull/2567/head
Chocobozzz 2020-03-12 15:37:28 +01:00
parent 84ebcf345c
commit c547bbf96a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ async function generateHlsPlaylist (video: MVideoWithFile, resolution: VideoReso
await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile)
await newVideoFile.save()
await VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined)
videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles')
video.setHLSPlaylist(videoStreamingPlaylist)