summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-05 13:45:58 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-05 13:45:58 +0100
commit69a7ce0532bb934182abf147fa9829e2769a43f1 (patch)
tree1ad2be008283312ed858fd29fb8998d686fca877 /plugins/lastfm
parentcadf44ad31555513d210f7005f831355bcd2bad9 (diff)
corrected many action titles with correct capitalization
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index d0d64e34..2750cfb2 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -934,27 +934,12 @@ out:
return 0;
}
-static int
-lfm_action_love (DB_plugin_action_t *act, int ctx)
-{
- printf ("Love starts here\n");
- return 0;
-}
-
-static DB_plugin_action_t love_action = {
- .title = "Love at Last.fm",
- .name = "lfm_love",
- .flags = DB_ACTION_SINGLE_TRACK,
- .callback2 = lfm_action_love,
- .next = NULL
-};
-
static DB_plugin_action_t lookup_action = {
- .title = "Lookup on Last.fm",
+ .title = "Lookup On Last.fm",
.name = "lfm_lookup",
.flags = DB_ACTION_SINGLE_TRACK | DB_ACTION_ADD_MENU,
.callback2 = lfm_action_lookup,
- .next = NULL// &love_action
+ .next = NULL
};
static DB_plugin_action_t *
@@ -965,12 +950,10 @@ lfm_get_actions (DB_playItem_t *it)
!deadbeef->pl_meta_exists (it, "artist") ||
!deadbeef->pl_meta_exists (it, "title"))
{
- love_action.flags |= DB_ACTION_DISABLED;
lookup_action.flags |= DB_ACTION_DISABLED;
}
else
{
- love_action.flags &= ~DB_ACTION_DISABLED;
lookup_action.flags &= ~DB_ACTION_DISABLED;
}
deadbeef->pl_unlock ();