diff options
author | Chocobozzz <me@florianbigard.com> | 2020-03-12 15:37:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-03-12 15:37:28 +0100 |
commit | c547bbf96a46166c4b4548413b092c58f7b0e37a (patch) | |
tree | 39791f5d29cb26509ecda1b3a28ba82d420602e1 /server/lib/video-transcoding.ts | |
parent | 84ebcf345cb82b254853c03c142f7c304fb072dd (diff) | |
download | PeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.tar.gz PeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.tar.zst PeerTube-c547bbf96a46166c4b4548413b092c58f7b0e37a.zip |
Fix re running HLS transcoding
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 2 |
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) |