input: pass config_param to input_plugin.init()
Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
This commit is contained in:
@@ -121,6 +121,7 @@ input_file_eof(struct input_stream *is)
|
||||
}
|
||||
|
||||
const struct input_plugin input_plugin_file = {
|
||||
.name = "file",
|
||||
.open = input_file_open,
|
||||
.close = input_file_close,
|
||||
.read = input_file_read,
|
||||
|
||||
Reference in New Issue
Block a user