Check config resolutions keys
authorChocobozzz <me@florianbigard.com>
Fri, 10 Apr 2020 06:55:21 +0000 (08:55 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Apr 2020 06:55:21 +0000 (08:55 +0200)
server/initializers/checker-before-init.ts

index 064d89a4d20cde794087fb48560391181a63d3b4..56f8156c67aa4db9c29032a89703564bcdab99e6 100644 (file)
@@ -22,6 +22,8 @@ function checkMissedConfig () {
     'signup.filters.cidr.whitelist', 'signup.filters.cidr.blacklist',
     'redundancy.videos.strategies', 'redundancy.videos.check_interval',
     'transcoding.enabled', 'transcoding.threads', 'transcoding.allow_additional_extensions', 'transcoding.hls.enabled',
+    'transcoding.resolutions.0p', 'transcoding.resolutions.240p', 'transcoding.resolutions.360p', 'transcoding.resolutions.480p',
+    'transcoding.resolutions.720p', 'transcoding.resolutions.1080p', 'transcoding.resolutions.2160p',
     'import.videos.http.enabled', 'import.videos.torrent.enabled', 'auto_blacklist.videos.of_users.enabled',
     'trending.videos.interval_days',
     'instance.name', 'instance.short_description', 'instance.description', 'instance.terms', 'instance.default_client_route',