diff --git a/src/controllers/dashboard/general.html b/src/controllers/dashboard/general.html index 8c228fd06..53a22036e 100644 --- a/src/controllers/dashboard/general.html +++ b/src/controllers/dashboard/general.html @@ -72,6 +72,12 @@
${LabelCustomCssHelp}
+
+ +

diff --git a/src/controllers/dashboard/general.js b/src/controllers/dashboard/general.js index 80114b065..a9fd39e9d 100644 --- a/src/controllers/dashboard/general.js +++ b/src/controllers/dashboard/general.js @@ -15,6 +15,7 @@ import alert from '../../components/alert'; page.querySelector('#txtServerName').value = systemInfo.ServerName; page.querySelector('#txtCachePath').value = systemInfo.CachePath || ''; page.querySelector('#chkQuickConnectAvailable').checked = config.QuickConnectAvailable === true; + page.querySelector('#chkSplashScreenAvailable').checked = config.SplashscreenEnabled === true; $('#txtMetadataPath', page).val(systemInfo.InternalMetadataPath || ''); $('#txtMetadataNetworkPath', page).val(systemInfo.MetadataNetworkPath || ''); $('#selectLocalizationLanguage', page).html(languageOptions.map(function (language) { @@ -39,6 +40,7 @@ import alert from '../../components/alert'; ApiClient.getNamedConfiguration(brandingConfigKey).then(function(brandingConfig) { brandingConfig.LoginDisclaimer = form.querySelector('#txtLoginDisclaimer').value; brandingConfig.CustomCss = form.querySelector('#txtCustomCss').value; + brandingConfig.SplashscreenEnabled = form.querySelector('#chkSplashScreenAvailable').checked; ApiClient.updateNamedConfiguration(brandingConfigKey, brandingConfig).then(function () { Dashboard.processServerConfigurationUpdateResult(); diff --git a/src/strings/en-us.json b/src/strings/en-us.json index b7d58832d..baadda44b 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1642,5 +1642,6 @@ "Sample": "Sample", "ThemeSong": "Theme Song", "ThemeVideo": "Theme Video", - "EnableEnhancedNvdecDecoderHelp": "Experimental NVDEC implementation, do not enable this option unless you encounter decoding errors." + "EnableEnhancedNvdecDecoderHelp": "Experimental NVDEC implementation, do not enable this option unless you encounter decoding errors.", + "EnableSplashScreen": "Enable the splash screen" }