From ad5db1044c8599eaaaa2a578b350777ae996b068 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Nov 2021 14:35:08 +0100 Subject: Add ability to run transcoding jobs --- shared/models/server/job.model.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared/models/server') diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 6da2753b3..ecc960da5 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts @@ -1,5 +1,5 @@ import { ContextType } from '../activitypub/context' -import { VideoResolution } from '../videos/video-resolution.enum' +import { VideoResolution } from '../videos/file/video-resolution.enum' import { SendEmailOptions } from './emailer.model' export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | 'paused' @@ -106,6 +106,8 @@ export interface HLSTranscodingPayload extends BaseTranscodingPayload { isPortraitMode?: boolean resolution: VideoResolution copyCodecs: boolean + + autoDeleteWebTorrentIfNeeded: boolean isMaxQuality: boolean } -- cgit v1.2.3