summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-28 11:51:41 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-28 11:51:41 +0200
commit4fc8d5ead565c1b4e45eac93fba26ddb3b8566b4 (patch)
tree0c6eed66f2aca1755f9a218f5ff8967acf1cc8bc /plugins/lastfm
parent514156edddceaa3fad523c2d46bc9ac1e00b6624 (diff)
parentbfce294151a589c1d91d982d78eba47d16158713 (diff)
Merge branch 'devel' into actions
Conflicts: plugins/hotkeys/hotkeys.c
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index c674a5fa..75e2505d 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -845,12 +845,13 @@ lfm_action_lookup (DB_plugin_action_t *action, DB_playItem_t *it)
char *command = NULL;
if (-1 == asprintf (&command, "xdg-open 'http://www.last.fm/music/%s/_/%s'", eartist, etitle))
return 0;
+ printf ("executing %s\n", command);
system (command);
free (command);
}
static int
-lfm_action_love (DB_playItem_t *it, void *data)
+lfm_action_love (DB_plugin_action_t *act, DB_playItem_t *it)
{
printf ("Love starts here\n");
}
@@ -868,7 +869,7 @@ static DB_plugin_action_t lookup_action = {
.name = "lfm_lookup",
.flags = DB_ACTION_SINGLE_TRACK,
.callback = lfm_action_lookup,
- .next = &love_action
+ .next = NULL// &love_action
};
static DB_plugin_action_t *