diff options
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 7 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index c9957f825..97972b759 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -69,8 +69,10 @@ export interface CustomConfig { | |||
69 | 69 | ||
70 | transcoding: { | 70 | transcoding: { |
71 | enabled: boolean | 71 | enabled: boolean |
72 | |||
72 | allowAdditionalExtensions: boolean | 73 | allowAdditionalExtensions: boolean |
73 | allowAudioFiles: boolean | 74 | allowAudioFiles: boolean |
75 | |||
74 | threads: number | 76 | threads: number |
75 | resolutions: { | 77 | resolutions: { |
76 | '240p': boolean | 78 | '240p': boolean |
@@ -80,6 +82,11 @@ export interface CustomConfig { | |||
80 | '1080p': boolean | 82 | '1080p': boolean |
81 | '2160p': boolean | 83 | '2160p': boolean |
82 | } | 84 | } |
85 | |||
86 | webtorrent: { | ||
87 | enabled: boolean | ||
88 | } | ||
89 | |||
83 | hls: { | 90 | hls: { |
84 | enabled: boolean | 91 | enabled: boolean |
85 | } | 92 | } |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 3498f86d7..6d1072333 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -56,6 +56,10 @@ export interface ServerConfig { | |||
56 | enabled: boolean | 56 | enabled: boolean |
57 | } | 57 | } |
58 | 58 | ||
59 | webtorrent: { | ||
60 | enabled: boolean | ||
61 | } | ||
62 | |||
59 | enabledResolutions: number[] | 63 | enabledResolutions: number[] |
60 | } | 64 | } |
61 | 65 | ||