aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/file_input_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 23:08:17 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 23:08:17 +0100
commitcfb350f4f01f28cdd6fa973602bd45681a64cf46 (patch)
treee2614273f1c259ff2d0bf7703057ee9e2ea165df /src/input/file_input_plugin.c
parent9a350acf0497acd19e05b77e6aa985552c13a94a (diff)
downloadmpd-cfb350f4f01f28cdd6fa973602bd45681a64cf46.tar.gz
mpd-cfb350f4f01f28cdd6fa973602bd45681a64cf46.tar.xz
mpd-cfb350f4f01f28cdd6fa973602bd45681a64cf46.zip
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.
Diffstat (limited to 'src/input/file_input_plugin.c')
-rw-r--r--src/input/file_input_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/file_input_plugin.c b/src/input/file_input_plugin.c
index c857bbd65..c8a5053f8 100644
--- a/src/input/file_input_plugin.c
+++ b/src/input/file_input_plugin.c
@@ -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,