aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/despotify_input_plugin.h
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/input/despotify_input_plugin.h
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 '')
-rw-r--r--src/input/despotify_input_plugin.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/input/despotify_input_plugin.h b/src/input/despotify_input_plugin.h
new file mode 100644
index 000000000..4c070d882
--- /dev/null
+++ b/src/input/despotify_input_plugin.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2011 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef INPUT_DESPOTIFY_H
+#define INPUT_DESPOTIFY_H
+
+extern const struct input_plugin input_plugin_despotify;
+
+#endif