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.
This commit is contained in:
Max Kellermann
2009-01-29 21:42:10 +01:00
parent 36ca114629
commit caa4d28f04
8 changed files with 186 additions and 0 deletions

View File

@@ -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 =