aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_list.c
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@gmail.com>2011-03-27 08:41:26 +0200
committerMax Kellermann <max@duempel.org>2011-03-29 17:01:16 +0200
commita25743875f98f53bbd3c0d8729434b1c647f2d27 (patch)
treeb7556250ce90f9567d549129b9fb992715cf7d3d /src/playlist_list.c
parent124d1a594202319d254c41d1e568d869ea74dafb (diff)
downloadmpd-a25743875f98f53bbd3c0d8729434b1c647f2d27.tar.gz
mpd-a25743875f98f53bbd3c0d8729434b1c647f2d27.tar.xz
mpd-a25743875f98f53bbd3c0d8729434b1c647f2d27.zip
playlist: Add despotify playlist plugin
For spotify playlists or tracks. Uses a spt uri, so with mpc you can add playlists with mpc load spt://spotify:user:simon.kagstrom:playlist:3SUwkOe5VbVHysZcidEZtH
Diffstat (limited to 'src/playlist_list.c')
-rw-r--r--src/playlist_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/playlist_list.c b/src/playlist_list.c
index 0a77aa8e2..04c3fa292 100644
--- a/src/playlist_list.c
+++ b/src/playlist_list.c
@@ -24,6 +24,7 @@
#include "playlist/m3u_playlist_plugin.h"
#include "playlist/xspf_playlist_plugin.h"
#include "playlist/lastfm_playlist_plugin.h"
+#include "playlist/despotify_playlist_plugin.h"
#include "playlist/pls_playlist_plugin.h"
#include "playlist/asx_playlist_plugin.h"
#include "playlist/rss_playlist_plugin.h"
@@ -47,6 +48,9 @@ static const struct playlist_plugin *const playlist_plugins[] = {
&pls_playlist_plugin,
&asx_playlist_plugin,
&rss_playlist_plugin,
+#ifdef ENABLE_DESPOTIFY
+ &despotify_playlist_plugin,
+#endif
#ifdef ENABLE_LASTFM
&lastfm_playlist_plugin,
#endif