Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make embedded cover art for APEv2 more flexible. This fixes an issue with foobar-tagged files as reported in the forums.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31091 a1c6a512-1295-4272-9138-f99709370657

+4 -3
+4 -3
apps/metadata/ape.c
··· 142 142 return false; 143 143 } 144 144 145 - /* Gather the album art format from the pseudo file name. */ 145 + /* Gather the album art format from the pseudo file name's ending. */ 146 + strcpy(name, name + strlen(name) - 4); 146 147 id3->albumart.type = AA_TYPE_UNKNOWN; 147 - if (strcasecmp(name, "cover art (front).jpg") == 0) 148 + if (strcasecmp(name, ".jpg") == 0) 148 149 { 149 150 id3->albumart.type = AA_TYPE_JPG; 150 151 } 151 - else if (strcasecmp(name, "cover art (front).png") == 0) 152 + else if (strcasecmp(name, ".png") == 0) 152 153 { 153 154 id3->albumart.type = AA_TYPE_PNG; 154 155 }