summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/albumart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 381e61d..bba2f1b 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -167,7 +167,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
dirlen = strlen(dir);
albumlen = id3->album ? strlen(id3->album) : 0;
- for(pass = 0; pass < 2; pass++)
+ for(pass = 0; pass < 2 - track_first; pass++)
{
if (track_first || pass)
{