diff options
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index e3cd18e25..c949dca2e 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -254,7 +254,7 @@ async function onWebTorrentVideoFileTranscoding ( | |||
254 | videoFile.fps = fps | 254 | videoFile.fps = fps |
255 | videoFile.metadata = metadata | 255 | videoFile.metadata = metadata |
256 | 256 | ||
257 | await createTorrentAndSetInfoHash(video, video, videoFile) | 257 | await createTorrentAndSetInfoHash(video, videoFile) |
258 | 258 | ||
259 | await VideoFileModel.customUpsert(videoFile, 'video', undefined) | 259 | await VideoFileModel.customUpsert(videoFile, 'video', undefined) |
260 | video.VideoFiles = await video.$get('VideoFiles') | 260 | video.VideoFiles = await video.$get('VideoFiles') |
@@ -350,7 +350,7 @@ async function generateHlsPlaylistCommon (options: { | |||
350 | newVideoFile.fps = await getVideoFileFPS(videoFilePath) | 350 | newVideoFile.fps = await getVideoFileFPS(videoFilePath) |
351 | newVideoFile.metadata = await getMetadataFromFile(videoFilePath) | 351 | newVideoFile.metadata = await getMetadataFromFile(videoFilePath) |
352 | 352 | ||
353 | await createTorrentAndSetInfoHash(videoStreamingPlaylist, video, newVideoFile) | 353 | await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile) |
354 | 354 | ||
355 | await VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined) | 355 | await VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined) |
356 | videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles') | 356 | videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles') |