From 8e2b11cd3c5c06fc993ad9cf1e6ff65a862400ab Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Tue, 12 Nov 2024 07:52:06 +0100 Subject: [PATCH] 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 --- apps/plugins/pictureflow/pictureflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }