From ab14f0e0dca878dbaccc8f6a895a68e4269c9873 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 4 May 2023 15:55:51 +0200 Subject: Prefer video studio instead of video edition Clearer and easier to find in the project --- server/controllers/api/runners/jobs-files.ts | 6 +++--- server/controllers/api/runners/jobs.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/runners/jobs-files.ts b/server/controllers/api/runners/jobs-files.ts index 4efa40b3a..260d824a8 100644 --- a/server/controllers/api/runners/jobs-files.ts +++ b/server/controllers/api/runners/jobs-files.ts @@ -31,7 +31,7 @@ runnerJobFilesRouter.post('/jobs/:jobUUID/files/videos/:videoId/studio/task-file asyncMiddleware(jobOfRunnerGetValidator), asyncMiddleware(runnerJobGetVideoTranscodingFileValidator), runnerJobGetVideoStudioTaskFileValidator, - getVideoEditionTaskFile + getVideoStudioTaskFile ) // --------------------------------------------------------------------------- @@ -94,14 +94,14 @@ function getMaxQualityVideoPreview (req: express.Request, res: express.Response) return res.sendFile(file.getPath()) } -function getVideoEditionTaskFile (req: express.Request, res: express.Response) { +function getVideoStudioTaskFile (req: express.Request, res: express.Response) { const runnerJob = res.locals.runnerJob const runner = runnerJob.Runner const video = res.locals.videoAll const filename = req.params.filename logger.info( - 'Get video edition task file %s of video %s of job %s for runner %s', filename, video.uuid, runnerJob.uuid, runner.name, + 'Get video studio task file %s of video %s of job %s for runner %s', filename, video.uuid, runnerJob.uuid, runner.name, lTags(runner.name, runnerJob.id, runnerJob.type) ) diff --git a/server/controllers/api/runners/jobs.ts b/server/controllers/api/runners/jobs.ts index 8e34c07a3..3f2a92182 100644 --- a/server/controllers/api/runners/jobs.ts +++ b/server/controllers/api/runners/jobs.ts @@ -42,7 +42,7 @@ import { RunnerJobUpdateBody, RunnerJobUpdatePayload, UserRight, - VideoEditionTranscodingSuccess, + VideoStudioTranscodingSuccess, VODAudioMergeTranscodingSuccess, VODHLSTranscodingSuccess, VODWebVideoTranscodingSuccess @@ -300,7 +300,7 @@ const jobSuccessPayloadBuilders: { } }, - 'video-edition-transcoding': (payload: VideoEditionTranscodingSuccess, files) => { + 'video-studio-transcoding': (payload: VideoStudioTranscodingSuccess, files) => { return { ...payload, -- cgit v1.2.3