From 4220e6b0adccf2f09a82fb85768b7aecc5744b6c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Mar 2009 23:11:31 +0100 Subject: 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. --- src/input_stream.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/input_stream.c') 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 -- cgit v1.2.3