aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.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/ls.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 'src/ls.c')
-rw-r--r--src/ls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index a4d0f2f7e..c6987aedb 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -28,6 +28,9 @@ static const char *remoteUrlPrefixes[] = {
#ifdef HAVE_CURL
"http://",
#endif
+#ifdef ENABLE_LASTFM
+ "lastfm://",
+#endif
#ifdef ENABLE_MMS
"mms://",
"mmsh://",