diff options
Diffstat (limited to 'shared/models/server/job.model.ts')
-rw-r--r-- | shared/models/server/job.model.ts | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 22ecee324..c14806dab 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -30,6 +30,7 @@ export type JobType = | |||
30 | | 'video-studio-edition' | 30 | | 'video-studio-edition' |
31 | | 'video-transcoding' | 31 | | 'video-transcoding' |
32 | | 'videos-views-stats' | 32 | | 'videos-views-stats' |
33 | | 'generate-video-storyboard' | ||
33 | 34 | ||
34 | export interface Job { | 35 | export interface Job { |
35 | id: number | string | 36 | id: number | string |
@@ -147,17 +148,17 @@ export interface HLSTranscodingPayload extends BaseTranscodingPayload { | |||
147 | fps: number | 148 | fps: number |
148 | copyCodecs: boolean | 149 | copyCodecs: boolean |
149 | 150 | ||
150 | deleteWebTorrentFiles: boolean | 151 | deleteWebVideoFiles: boolean |
151 | } | 152 | } |
152 | 153 | ||
153 | export interface NewWebTorrentResolutionTranscodingPayload extends BaseTranscodingPayload { | 154 | export interface NewWebVideoResolutionTranscodingPayload extends BaseTranscodingPayload { |
154 | type: 'new-resolution-to-webtorrent' | 155 | type: 'new-resolution-to-web-video' |
155 | resolution: VideoResolution | 156 | resolution: VideoResolution |
156 | fps: number | 157 | fps: number |
157 | } | 158 | } |
158 | 159 | ||
159 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { | 160 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { |
160 | type: 'merge-audio-to-webtorrent' | 161 | type: 'merge-audio-to-web-video' |
161 | 162 | ||
162 | resolution: VideoResolution | 163 | resolution: VideoResolution |
163 | fps: number | 164 | fps: number |
@@ -166,7 +167,7 @@ export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { | |||
166 | } | 167 | } |
167 | 168 | ||
168 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | 169 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { |
169 | type: 'optimize-to-webtorrent' | 170 | type: 'optimize-to-web-video' |
170 | 171 | ||
171 | quickTranscode: boolean | 172 | quickTranscode: boolean |
172 | 173 | ||
@@ -175,7 +176,7 @@ export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | |||
175 | 176 | ||
176 | export type VideoTranscodingPayload = | 177 | export type VideoTranscodingPayload = |
177 | HLSTranscodingPayload | 178 | HLSTranscodingPayload |
178 | | NewWebTorrentResolutionTranscodingPayload | 179 | | NewWebVideoResolutionTranscodingPayload |
179 | | OptimizeTranscodingPayload | 180 | | OptimizeTranscodingPayload |
180 | | MergeAudioTranscodingPayload | 181 | | MergeAudioTranscodingPayload |
181 | 182 | ||
@@ -294,3 +295,10 @@ export interface TranscodingJobBuilderPayload { | |||
294 | priority?: number | 295 | priority?: number |
295 | }[][] | 296 | }[][] |
296 | } | 297 | } |
298 | |||
299 | // --------------------------------------------------------------------------- | ||
300 | |||
301 | export interface GenerateStoryboardPayload { | ||
302 | videoUUID: string | ||
303 | federate: boolean | ||
304 | } | ||