summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-01 19:23:01 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-01 19:23:01 +0100
commite42225701209abe34afcde2aff7dd036d8c9f9c6 (patch)
treea84261a7d9d3c524078eb0c7ab2e726b8b131c03 /plugins/lastfm
parent5693fa18e79dd9868d99d98e3cd5d8ef798e937f (diff)
last.fm scrobbler is configurable via gui
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index d5a8eb75..f14ff5bf 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -776,6 +776,11 @@ lastfm_stop (void) {
return 0;
}
+static const char settings_dlg[] =
+ "property \"Username\" entry lastfm.login;\n"
+ "property \"Password\" password lastfm.password;"
+;
+
// define plugin interface
static DB_misc_t plugin = {
DB_PLUGIN_SET_API_VERSION
@@ -788,5 +793,6 @@ static DB_misc_t plugin = {
.plugin.email = "waker@users.sourceforge.net",
.plugin.website = "http://deadbeef.sf.net",
.plugin.start = lastfm_start,
- .plugin.stop = lastfm_stop
+ .plugin.stop = lastfm_stop,
+ .plugin.configdialog = settings_dlg
};