aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/extra-utils/server/config.ts2
-rw-r--r--shared/models/server/custom-config.model.ts3
-rw-r--r--shared/models/server/job.model.ts1
3 files changed, 6 insertions, 0 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts
index db5a473ca..efe569243 100644
--- a/shared/extra-utils/server/config.ts
+++ b/shared/extra-utils/server/config.ts
@@ -112,6 +112,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
112 allowAdditionalExtensions: true, 112 allowAdditionalExtensions: true,
113 allowAudioFiles: true, 113 allowAudioFiles: true,
114 threads: 1, 114 threads: 1,
115 concurrency: 3,
115 profile: 'default', 116 profile: 'default',
116 resolutions: { 117 resolutions: {
117 '0p': false, 118 '0p': false,
@@ -153,6 +154,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
153 }, 154 },
154 import: { 155 import: {
155 videos: { 156 videos: {
157 concurrency: 3,
156 http: { 158 http: {
157 enabled: false 159 enabled: false
158 }, 160 },
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index d23b8abef..93b2d3417 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -87,6 +87,7 @@ export interface CustomConfig {
87 allowAudioFiles: boolean 87 allowAudioFiles: boolean
88 88
89 threads: number 89 threads: number
90 concurrency: number
90 91
91 profile: string 92 profile: string
92 93
@@ -120,6 +121,8 @@ export interface CustomConfig {
120 121
121 import: { 122 import: {
122 videos: { 123 videos: {
124 concurrency: number
125
123 http: { 126 http: {
124 enabled: boolean 127 enabled: boolean
125 } 128 }
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index ddd678b91..44f92abf1 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -106,6 +106,7 @@ export interface HLSTranscodingPayload extends BaseTranscodingPayload {
106 isPortraitMode?: boolean 106 isPortraitMode?: boolean
107 resolution: VideoResolution 107 resolution: VideoResolution
108 copyCodecs: boolean 108 copyCodecs: boolean
109 isMaxQuality: boolean
109} 110}
110 111
111export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload { 112export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload {