aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-03-12 15:37:28 +0100
committerChocobozzz <me@florianbigard.com>2020-03-12 15:37:28 +0100
commitc547bbf96a46166c4b4548413b092c58f7b0e37a (patch)
tree39791f5d29cb26509ecda1b3a28ba82d420602e1 /server
parent84ebcf345cb82b254853c03c142f7c304fb072dd (diff)
downloadPeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.tar.gz
PeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.tar.zst
PeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.zip
Fix re running HLS transcoding
Diffstat (limited to 'server')
-rw-r--r--server/lib/video-transcoding.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts
index ab1e917f3..dcda82e0a 100644
--- a/server/lib/video-transcoding.ts
+++ b/server/lib/video-transcoding.ts
@@ -207,7 +207,7 @@ async function generateHlsPlaylist (video: MVideoWithFile, resolution: VideoReso
207 207
208 await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile) 208 await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile)
209 209
210 await newVideoFile.save() 210 await VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined)
211 videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles') 211 videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles')
212 212
213 video.setHLSPlaylist(videoStreamingPlaylist) 213 video.setHLSPlaylist(videoStreamingPlaylist)