summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-16 12:53:59 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-16 12:53:59 +0200
commit86974bd55526ec540d5d16db4a62bdfe326c702a (patch)
tree6b28a2e3a55928556e01d0d63814fc7ae85eb4fe /plugins/lastfm
parentcd79ebabe68b0ea89526407fd65d963698f8c2bc (diff)
lfm: minor cleanup
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index 45e37489..828b35db 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -489,7 +489,7 @@ lfm_format_uri (int subm, DB_playItem_t *song, char *out, int outl) {
static int
lastfm_songstarted (ddb_event_track_t *ev, uintptr_t data) {
- trace ("lfm songstarted %s\n", ev->track->fname);
+ trace ("lfm songstarted %p\n", ev->track);
if (!deadbeef->conf_get_int ("lastfm.enable", 0)) {
return 0;
}
@@ -801,7 +801,6 @@ auth_v2 (void) {
static int
lfm_message (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2) {
switch (id) {
- // subscribe to frameupdate event
case DB_EV_SONGSTARTED:
lastfm_songstarted ((ddb_event_track_t *)ctx, 0);
break;