diff options
Diffstat (limited to 'server')
-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) |