diff options
author | Max Kellermann <max@duempel.org> | 2009-01-29 21:42:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-29 21:42:10 +0100 |
commit | caa4d28f044d70012cd113f324e6500c0b57d491 (patch) | |
tree | 5f904a7668b602480c660d04e4cbc3b075b4be99 /src/input_stream.c | |
parent | 36ca114629d8e9bef2faff3716ccdf8f7641fd10 (diff) | |
download | mpd-caa4d28f044d70012cd113f324e6500c0b57d491.tar.gz mpd-caa4d28f044d70012cd113f324e6500c0b57d491.tar.xz mpd-caa4d28f044d70012cd113f324e6500c0b57d491.zip |
added support for the MMS protocol
This patch implements the MMS protocol, by using libmms. It is quite
experimental: it does not support seeking yet, and it is currently
using synchronous I/O, which causes MPD to hang while waiting for the
server.
Diffstat (limited to 'src/input_stream.c')
-rw-r--r-- | src/input_stream.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_stream.c b/src/input_stream.c index f69debbf9..234511e7f 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -29,6 +29,10 @@ #include "input_curl.h" #endif +#ifdef ENABLE_MMS +#include "input_mms.h" +#endif + #include <glib.h> #include <assert.h> @@ -40,6 +44,9 @@ static const struct input_plugin *const input_plugins[] = { #ifdef HAVE_CURL &input_plugin_curl, #endif +#ifdef ENABLE_MMS + &input_plugin_mms, +#endif }; static const unsigned num_input_plugins = |