aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_list.c')
-rw-r--r--src/decoder_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c
index a644a6370..34dc779c5 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -218,6 +218,10 @@ void decoder_plugin_init_all(void)
const struct config_param *param =
decoder_plugin_config(plugin->name);
+ if (!config_get_block_bool(param, "enabled", true))
+ /* the plugin is disabled in mpd.conf */
+ continue;
+
if (decoder_plugin_init(plugin, param))
decoder_plugins_enabled[i] = true;
}