diff options
author | Simon Kagstrom <simon.kagstrom@gmail.com> | 2011-03-27 08:41:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-29 17:01:16 +0200 |
commit | 124d1a594202319d254c41d1e568d869ea74dafb (patch) | |
tree | e313f14785c2d1f2bf6d2a5242f1a462c090b1e2 /src/input_registry.c | |
parent | eec77b3ae7d732547f65a6ae838d8acfd661dc17 (diff) | |
download | mpd-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/input_registry.c')
-rw-r--r-- | src/input_registry.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_registry.c b/src/input_registry.c index 02de9406e..b76d9888e 100644 --- a/src/input_registry.c +++ b/src/input_registry.c @@ -41,6 +41,10 @@ #include "input/cdio_paranoia_input_plugin.h" #endif +#ifdef ENABLE_DESPOTIFY +#include "input/despotify_input_plugin.h" +#endif + #include <glib.h> const struct input_plugin *const input_plugins[] = { @@ -60,6 +64,9 @@ const struct input_plugin *const input_plugins[] = { #ifdef ENABLE_CDIO_PARANOIA &input_plugin_cdio_paranoia, #endif +#ifdef ENABLE_DESPOTIFY + &input_plugin_despotify, +#endif NULL }; |