diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 13:41:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | a687879e94fa5d3ecdd76bec3d94d0e1698ee913 (patch) | |
tree | b17ee096918dfd4624d50dbf0e91ff8f66bd4a7f /server/lib/transcoding/hls-transcoding.ts | |
parent | e7d8e2b245491c0a8e008fb570037506d729ff04 (diff) | |
download | PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.gz PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.zst PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.zip |
Reload the video after waiting for the files lock
Diffstat (limited to 'server/lib/transcoding/hls-transcoding.ts')
-rw-r--r-- | server/lib/transcoding/hls-transcoding.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/transcoding/hls-transcoding.ts b/server/lib/transcoding/hls-transcoding.ts index cffa859c7..2c325d9ee 100644 --- a/server/lib/transcoding/hls-transcoding.ts +++ b/server/lib/transcoding/hls-transcoding.ts | |||
@@ -72,7 +72,6 @@ export async function onHLSVideoFileTranscoding (options: { | |||
72 | const mutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) | 72 | const mutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) |
73 | 73 | ||
74 | try { | 74 | try { |
75 | // VOD transcoding is a long task, refresh video attributes | ||
76 | await video.reload() | 75 | await video.reload() |
77 | 76 | ||
78 | const videoFilePath = VideoPathManager.Instance.getFSVideoFileOutputPath(playlist, videoFile) | 77 | const videoFilePath = VideoPathManager.Instance.getFSVideoFileOutputPath(playlist, videoFile) |