aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_stream.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 23:11:31 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 23:11:31 +0100
commit4220e6b0adccf2f09a82fb85768b7aecc5744b6c (patch)
tree55509fd1eb5dcbad42a7f0c3af7a19107a2e9647 /src/input_stream.c
parent9cd5b0af74b61967164598382e5ef66774e766a8 (diff)
downloadmpd-4220e6b0adccf2f09a82fb85768b7aecc5744b6c.tar.gz
mpd-4220e6b0adccf2f09a82fb85768b7aecc5744b6c.tar.xz
mpd-4220e6b0adccf2f09a82fb85768b7aecc5744b6c.zip
input_lastfm: new input plugin for last.fm radio
The lastfm input plugin enables MPD to play lastfm:// URLs. This plugin is not complete yet: it plays only the first song in the last.fm playlist, and the playlist parser isn't even implemented properly.
Diffstat (limited to '')
-rw-r--r--src/input_stream.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_stream.c b/src/input_stream.c
index e07a3ab52..95644f5d8 100644
--- a/src/input_stream.c
+++ b/src/input_stream.c
@@ -30,6 +30,8 @@
#include "input/curl_input_plugin.h"
#endif
+#include "input/lastfm_input_plugin.h"
+
#ifdef ENABLE_MMS
#include "input/mms_input_plugin.h"
#endif
@@ -46,6 +48,9 @@ static const struct input_plugin *const input_plugins[] = {
#ifdef HAVE_CURL
&input_plugin_curl,
#endif
+#ifdef ENABLE_LASTFM
+ &lastfm_input_plugin,
+#endif
#ifdef ENABLE_MMS
&input_plugin_mms,
#endif