aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-03-08 12:19:38 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-03-08 12:19:38 +0900
commitf8b391538d9283879e962e0dbffed12dc6024a7d (patch)
tree533e0162b15a8c4f10b6fcc52ad0f5e16e3ab506
parentacf1698d2b9277afea001555c2bb8e8d90f275ae (diff)
update audiodb config page
-rw-r--r--MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
index c50dba71f..34494644d 100644
--- a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
+++ b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
@@ -13,7 +13,7 @@
<span>Enable this provider for metadata searches on artists and albums.</span>
</label>
<label class="checkboxContainer">
- <input is="emby-checkbox" type="checkbox" id="replaceArtistName" />
+ <input is="emby-checkbox" type="checkbox" id="replaceAlbumName" />
<span>When an album is found during a metadata search, replace the name with the value on the server.</span>
</label>
<br />
@@ -32,6 +32,7 @@
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) {
$('#enable').checked(config.Enable);
+ $('#replaceAlbumName').checked(config.ReplaceAlbumName);
Dashboard.hideLoadingMsg();
});
@@ -43,6 +44,7 @@
var form = this;
ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) {
config.Enable = $('#enable', form).checked();
+ config.ReplaceAlbumName = $('#replaceAlbumName', form).checked();
ApiClient.updatePluginConfiguration(PluginConfig.pluginId, config).then(Dashboard.processPluginConfigurationUpdateResult);
});