diff --git a/dashboard-ui/dashboard/librarydisplay.js b/dashboard-ui/dashboard/librarydisplay.js index 131d4f7df7..bd7b0271c9 100644 --- a/dashboard-ui/dashboard/librarydisplay.js +++ b/dashboard-ui/dashboard/librarydisplay.js @@ -37,6 +37,7 @@ config.DisplaySpecialsWithinSeasons = form.querySelector('.chkDisplaySpecialsWithinSeasons').checked; config.DisplayCollectionsView = form.querySelector('.chkDisplayCollectionView').checked; config.EnableChannelView = !form.querySelector('.chkDisplayChannelsInline').checked; + config.EnableExternalContentInSuggestions = form.querySelector('.chkExternalContentInSuggestions').checked; ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult); }); @@ -52,6 +53,7 @@ view.querySelector('.chkDisplaySpecialsWithinSeasons').checked = config.DisplaySpecialsWithinSeasons; view.querySelector('.chkDisplayCollectionView').checked = config.DisplayCollectionsView; view.querySelector('.chkDisplayChannelsInline').checked = !(config.EnableChannelView || false); + view.querySelector('.chkExternalContentInSuggestions').checked = config.EnableExternalContentInSuggestions; }); } diff --git a/dashboard-ui/librarydisplay.html b/dashboard-ui/librarydisplay.html index 23979d5f9d..3ae1840a60 100644 --- a/dashboard-ui/librarydisplay.html +++ b/dashboard-ui/librarydisplay.html @@ -41,6 +41,14 @@
${OptionDisplayChannelsInlineHelp}
+ +
+ +
${OptionEnableExternalContentInSuggestionsHelp}
+

diff --git a/dashboard-ui/strings/en-US.json b/dashboard-ui/strings/en-US.json index 33a7960adb..193cb15bf3 100644 --- a/dashboard-ui/strings/en-US.json +++ b/dashboard-ui/strings/en-US.json @@ -2227,5 +2227,7 @@ "HowToConnectFromEmbyApps": "How to Connect from Emby apps", "MessageFolderRipPlaybackExperimental": "Support for playback of folder rips and ISOs in this app is only expirimental. For best results, try an Emby app that supports these formats natively, or use plain video files.", "OptionExtractChapterImage": "Enable chapter image extraction", - "Downloads": "Downloads" + "Downloads": "Downloads", + "OptionEnableExternalContentInSuggestions": "Enable external content in suggestions", + "OptionEnableExternalContentInSuggestionsHelp": "Allow internet trailers and live tv programs to be included within suggested content." }