diff options
Diffstat (limited to 'server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts')
-rw-r--r-- | server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts b/server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts index 29ee2ca61..fa2ac70bf 100644 --- a/server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts +++ b/server/lib/transcoding/shared/job-builders/transcoding-job-queue-builder.ts | |||
@@ -40,6 +40,9 @@ export class TranscodingJobQueueBuilder extends AbstractJobBuilder { | |||
40 | : await VideoPathManager.Instance.lockFiles(video.uuid) | 40 | : await VideoPathManager.Instance.lockFiles(video.uuid) |
41 | 41 | ||
42 | try { | 42 | try { |
43 | await video.reload() | ||
44 | await videoFile.reload() | ||
45 | |||
43 | await VideoPathManager.Instance.makeAvailableVideoFile(videoFile.withVideoOrPlaylist(video), async videoFilePath => { | 46 | await VideoPathManager.Instance.makeAvailableVideoFile(videoFile.withVideoOrPlaylist(video), async videoFilePath => { |
44 | const probe = await ffprobePromise(videoFilePath) | 47 | const probe = await ffprobePromise(videoFilePath) |
45 | 48 | ||