diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-08 17:53:22 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-08 17:53:22 +0200 |
commit | d53f5a0e7270d466c1364a1968f34bbd9d0cb2b4 (patch) | |
tree | eb7467122412eb4221e820b3ac61a91c446090cd /plugins/artwork/lastfm.c | |
parent | 24eeb7ee096fd1066c4b6aa15a67be369958825d (diff) |
disable tracing in artwork plugin
Diffstat (limited to 'plugins/artwork/lastfm.c')
-rw-r--r-- | plugins/artwork/lastfm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/artwork/lastfm.c b/plugins/artwork/lastfm.c index 83530ffd..2aed6d7c 100644 --- a/plugins/artwork/lastfm.c +++ b/plugins/artwork/lastfm.c @@ -9,8 +9,8 @@ #define BASE_URL "http://ws.audioscrobbler.com/2.0/" #define API_KEY "b25b959554ed76058ac220b7b2e0a026" -#define trace(...) { fprintf(stderr, __VA_ARGS__); } -//#define trace(...) +//#define trace(...) { fprintf(stderr, __VA_ARGS__); } +#define trace(...) extern DB_functions_t *deadbeef; @@ -51,7 +51,7 @@ fetch_from_lastfm (const char *artist, const char *album, const char *dest) char *end = strstr (img, "</image>"); if (!end || end == img) { - trace ("fetch_from_lastfm: bad xml from %s\n", url); + trace ("fetch_from_lastfm: bad xml (or image not found) from %s\n", url); return -1; } |