aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/lastfm_input_plugin.h
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/input/lastfm_input_plugin.h
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 '')
-rw-r--r--src/input/lastfm_input_plugin.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/input/lastfm_input_plugin.h b/src/input/lastfm_input_plugin.h
new file mode 100644
index 000000000..8a2854214
--- /dev/null
+++ b/src/input/lastfm_input_plugin.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2003-2009 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef LASTFM_INPUT_PLUGIN_H
+#define LASTFM_INPUT_PLUGIN_H
+
+extern const struct input_plugin lastfm_input_plugin;
+
+#endif