diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 1 | ||||
-rw-r--r-- | shared/utils/server/config.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 3afd36fcd..028aafa1a 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -48,6 +48,7 @@ export interface CustomConfig { | |||
48 | 48 | ||
49 | transcoding: { | 49 | transcoding: { |
50 | enabled: boolean | 50 | enabled: boolean |
51 | allowAdditionalExtensions: boolean | ||
51 | threads: number | 52 | threads: number |
52 | resolutions: { | 53 | resolutions: { |
53 | '240p': boolean | 54 | '240p': boolean |
diff --git a/shared/utils/server/config.ts b/shared/utils/server/config.ts index 5b888b061..ff5288c82 100644 --- a/shared/utils/server/config.ts +++ b/shared/utils/server/config.ts | |||
@@ -86,6 +86,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) { | |||
86 | }, | 86 | }, |
87 | transcoding: { | 87 | transcoding: { |
88 | enabled: true, | 88 | enabled: true, |
89 | allowAdditionalExtensions: true, | ||
89 | threads: 1, | 90 | threads: 1, |
90 | resolutions: { | 91 | resolutions: { |
91 | '240p': false, | 92 | '240p': false, |