aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@gmail.com>2011-03-27 08:41:05 +0200
committerMax Kellermann <max@duempel.org>2011-03-29 17:01:16 +0200
commit124d1a594202319d254c41d1e568d869ea74dafb (patch)
treee313f14785c2d1f2bf6d2a5242f1a462c090b1e2 /src/ls.c
parenteec77b3ae7d732547f65a6ae838d8acfd661dc17 (diff)
downloadmpd-124d1a594202319d254c41d1e568d869ea74dafb.tar.gz
mpd-124d1a594202319d254c41d1e568d869ea74dafb.tar.xz
mpd-124d1a594202319d254c41d1e568d869ea74dafb.zip
input: Add despotify input plugin
For Spotify tracks. Uses a spt URI, so with mpc you can play tracks with e.g., mpc add spt://spotify:track:5qENVY0YEdZ7fiuOax70x1 mpc play Uses the pcm_decoder_plugin for the output
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 509792911..fa87d35d7 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -52,6 +52,9 @@ static const char *remoteUrlPrefixes[] = {
#ifdef ENABLE_CDIO_PARANOIA
"cdda://",
#endif
+#ifdef ENABLE_DESPOTIFY
+ "spt://",
+#endif
NULL
};