aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-11-28 23:55:56 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-11-28 23:55:56 +0900
commit8b0ef119c39a9eb7cef57d59aec4699c2587b8eb (patch)
tree4990f83190a6f34725c8caa6f8ca57af8b40e67c /MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
parentf1b3811ca7ac7858d19cbd51549fde9fca04bdb9 (diff)
remove deprecated flag to disable music plugins
Diffstat (limited to 'MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html')
-rw-r--r--MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html14
1 files changed, 4 insertions, 10 deletions
diff --git a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
index 82f26a8f26..eab252005f 100644
--- a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
+++ b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html
@@ -9,10 +9,6 @@
<div class="content-primary">
<form class="configForm">
<label class="checkboxContainer">
- <input is="emby-checkbox" type="checkbox" id="enable" />
- <span>Enable this provider for metadata searches on artists and albums.</span>
- </label>
- <label class="checkboxContainer">
<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>
@@ -32,9 +28,8 @@
.addEventListener('pageshow', function () {
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) {
- document.querySelector('#enable').checked = config.Enable;
document.querySelector('#replaceAlbumName').checked = config.ReplaceAlbumName;
-
+
Dashboard.hideLoadingMsg();
});
});
@@ -42,14 +37,13 @@
document.querySelector('.configForm')
.addEventListener('submit', function (e) {
Dashboard.showLoadingMsg();
-
+
ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) {
- config.Enable = document.querySelector('#enable').checked;
config.ReplaceAlbumName = document.querySelector('#replaceAlbumName').checked;
-
+
ApiClient.updatePluginConfiguration(PluginConfig.pluginId, config).then(Dashboard.processPluginConfigurationUpdateResult);
});
-
+
e.preventDefault();
return false;
});