mirror of https://github.com/Chocobozzz/PeerTube
Fix re running HLS transcoding
parent
84ebcf345c
commit
c547bbf96a
|
@ -207,7 +207,7 @@ async function generateHlsPlaylist (video: MVideoWithFile, resolution: VideoReso
|
||||||
|
|
||||||
await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile)
|
await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile)
|
||||||
|
|
||||||
await newVideoFile.save()
|
await VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined)
|
||||||
videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles')
|
videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles')
|
||||||
|
|
||||||
video.setHLSPlaylist(videoStreamingPlaylist)
|
video.setHLSPlaylist(videoStreamingPlaylist)
|
||||||
|
|
Loading…
Reference in New Issue