summaryrefslogtreecommitdiff
path: root/apps/recorder/albumart.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r--apps/recorder/albumart.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index e3cb5f1098..6bd2adade3 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -34,12 +34,6 @@
34/*#define LOGF_ENABLE*/ 34/*#define LOGF_ENABLE*/
35#include "logf.h" 35#include "logf.h"
36 36
37#ifdef SIMULATOR
38#define LOGFQUEUE logf
39#else
40#define LOGFQUEUE(...)
41#endif
42
43#if defined(HAVE_JPEG) || defined(PLUGIN) 37#if defined(HAVE_JPEG) || defined(PLUGIN)
44#define USE_JPEG_COVER 38#define USE_JPEG_COVER
45#endif 39#endif
@@ -273,7 +267,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
273 return false; 267 return false;
274 268
275 strncpy(buf, path, buflen); 269 strncpy(buf, path, buflen);
276 LOGFQUEUE("Album art found: %s", path); 270 logf("Album art found: %s", path);
277 return true; 271 return true;
278} 272}
279 273
@@ -292,7 +286,7 @@ bool find_albumart(const struct mp3entry *id3, char *buf, int buflen)
292 if (!data) 286 if (!data)
293 return false; 287 return false;
294 288
295 LOGFQUEUE("Looking for album art for %s", id3->path); 289 logf("Looking for album art for %s", id3->path);
296 290
297 /* Write the size string, e.g. ".100x100". */ 291 /* Write the size string, e.g. ".100x100". */
298 snprintf(size_string, sizeof(size_string), ".%dx%d", 292 snprintf(size_string, sizeof(size_string), ".%dx%d",