1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Reload the video after waiting for the files lock

This commit is contained in:
Chocobozzz 2023-05-05 13:41:48 +02:00 committed by Chocobozzz
parent e7d8e2b245
commit a687879e94
10 changed files with 27 additions and 11 deletions

View file

@ -72,7 +72,6 @@ export async function onHLSVideoFileTranscoding (options: {
const mutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid)
try {
// VOD transcoding is a long task, refresh video attributes
await video.reload()
const videoFilePath = VideoPathManager.Instance.getFSVideoFileOutputPath(playlist, videoFile)