diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/server-error-code.enum.ts | 4 | ||||
-rw-r--r-- | shared/models/videos/transcoding/video-transcoding-create.model.ts | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/server/server-error-code.enum.ts b/shared/models/server/server-error-code.enum.ts index 77d1e1d3f..583e8245f 100644 --- a/shared/models/server/server-error-code.enum.ts +++ b/shared/models/server/server-error-code.enum.ts | |||
@@ -52,7 +52,9 @@ export const enum ServerErrorCode { | |||
52 | UNKNOWN_RUNNER_TOKEN = 'unknown_runner_token', | 52 | UNKNOWN_RUNNER_TOKEN = 'unknown_runner_token', |
53 | 53 | ||
54 | VIDEO_REQUIRES_PASSWORD = 'video_requires_password', | 54 | VIDEO_REQUIRES_PASSWORD = 'video_requires_password', |
55 | INCORRECT_VIDEO_PASSWORD = 'incorrect_video_password' | 55 | INCORRECT_VIDEO_PASSWORD = 'incorrect_video_password', |
56 | |||
57 | VIDEO_ALREADY_BEING_TRANSCODED = 'video_already_being_transcoded' | ||
56 | } | 58 | } |
57 | 59 | ||
58 | /** | 60 | /** |
diff --git a/shared/models/videos/transcoding/video-transcoding-create.model.ts b/shared/models/videos/transcoding/video-transcoding-create.model.ts index c6e756a0a..6c2dbefa6 100644 --- a/shared/models/videos/transcoding/video-transcoding-create.model.ts +++ b/shared/models/videos/transcoding/video-transcoding-create.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | export interface VideoTranscodingCreate { | 1 | export interface VideoTranscodingCreate { |
2 | transcodingType: 'hls' | 'webtorrent' | 'web-video' // TODO: remove webtorrent in v7 | 2 | transcodingType: 'hls' | 'webtorrent' | 'web-video' // TODO: remove webtorrent in v7 |
3 | |||
4 | forceTranscoding?: boolean // Default false | ||
3 | } | 5 | } |