mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
add setting to hide external content from suggestions
This commit is contained in:
parent
218112efc1
commit
3fe335618d
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -41,6 +41,14 @@
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionDisplayChannelsInlineHelp}</div>
|
||||
</div>
|
||||
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input class="chkExternalContentInSuggestions" type="checkbox" is="emby-checkbox" />
|
||||
<span>${OptionEnableExternalContentInSuggestions}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionEnableExternalContentInSuggestionsHelp}</div>
|
||||
</div>
|
||||
<br />
|
||||
<button is="emby-button" type="submit" class="raised submit block"><i class="md-icon">check</i><span>${ButtonSave}</span></button>
|
||||
|
||||
|
@ -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."
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user