From 1266ebad2083550266906b9e6ce37dec18c594bd Mon Sep 17 00:00:00 2001 From: waker Date: Thu, 27 Aug 2009 20:46:48 +0200 Subject: new songstarted and song finished event triggering --- plugins/lastfm/lastfm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index afee5471..926e47de 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -249,7 +249,7 @@ lastfm_songstarted (DB_event_song_t *ev, uintptr_t data) { printf ("playtime: %f\nartist: %s\ntitle: %s\nalbum: %s\nduration: %f\ntracknum: %s\n---\n", ev->song->playtime, a, t, b, l, n); } else { - printf ("file %f doesn't have enough tags to submit to last.fm\n", ev->song->fname); + printf ("file %s doesn't have enough tags to submit to last.fm\n", ev->song->fname); } return 0; @@ -268,7 +268,7 @@ lastfm_songfinished (DB_event_song_t *ev, uintptr_t data) { printf ("playtime: %f\nartist: %s\ntitle: %s\nalbum: %s\nduration: %f\ntracknum: %s\n---\n", ev->song->playtime, a, t, b, l, n); } else { - printf ("file %f doesn't have enough tags to submit to last.fm\n", ev->song->fname); + printf ("file %s doesn't have enough tags to submit to last.fm\n", ev->song->fname); } return 0; -- cgit v1.2.3