diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-11-12 07:52:06 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-11-12 01:57:42 -0500 |
commit | 8e2b11cd3c5c06fc993ad9cf1e6ff65a862400ab (patch) | |
tree | a0cf4d87aabf420b6502eaa7cb8a7d6ce14b12f9 | |
parent | 9b20f59ac676b068ccdc6c57727230fa772b3179 (diff) | |
download | rockbox-8e2b11cd3c.tar.gz rockbox-8e2b11cd3c.zip |
pugins: PictureFlow: Fix album not found
Each artist name is only stored once, regardless of case,
so we have to perform a case-insensitive comparison with
the current artist.
Change-Id: I571c0e49c032a6d5c64f6e3289513ba7fe279cb8
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b68e879fc4..3d1640d903 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -1878,7 +1878,7 @@ static int id3_get_index(struct mp3entry *id3) artist_idx = pf_idx.album_index[i].artist_idx; if(!rb->strcmp(pf_idx.album_names + album_idx, current_album) && - !rb->strcmp(pf_idx.artist_names + artist_idx, current_artist)) + !rb->strcasecmp(pf_idx.artist_names + artist_idx, current_artist)) return i; } |