summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/albumart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index cf4a3e8e11..3adedc8159 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -153,8 +153,14 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
153 /* the first file we look for is one specific to the track playing */ 153 /* the first file we look for is one specific to the track playing */
154 strip_extension(path, sizeof(path) - strlen(size_string) - 4, trackname); 154 strip_extension(path, sizeof(path) - strlen(size_string) - 4, trackname);
155 strcat(path, size_string); 155 strcat(path, size_string);
156#if LCD_DEPTH > 1
157 strcat(path, ".");
158 pathlen = strlen(path);
159 found = try_exts(path, pathlen);
160#else
156 strcat(path, ".bmp"); 161 strcat(path, ".bmp");
157 found = file_exists(path); 162 found = file_exists(path);
163#endif
158 if (!found && albumlen > 0) 164 if (!found && albumlen > 0)
159 { 165 {
160 /* if it doesn't exist, 166 /* if it doesn't exist,