mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
BUGFIX string_option parsers
fix bugs introduced in the switch over to using string_option instead of if else strcmp trees, embedded album art should work again skin parser had an error for 'noborder' and 'nobar' Change-Id: I957d81e5fa8467b33bbd93d63c4428c36100acca
This commit is contained in:
parent
6dcbf7ff77
commit
9b4e784560
4 changed files with 38 additions and 25 deletions
|
|
@ -441,13 +441,20 @@ static int asf_parse_header(int fd, struct mp3entry* id3,
|
|||
{
|
||||
eWM_TrackNumber, eWM_Genre, eWM_AlbumTitle,
|
||||
eWM_AlbumArtist, eWM_Composer, eWM_Year,
|
||||
eWM_MusicBrainz_Track_Id, eWM_Picture
|
||||
eWM_MusicBrainz_Track_Id, eWM_Picture,
|
||||
eWM_COUNT_TAG_COUNT
|
||||
};
|
||||
|
||||
static const char *tagops[] =
|
||||
{ "WM/TrackNumber", "WM/Genre", "WM/AlbumTitle",
|
||||
"WM/AlbumArtist", "WM/Composer", "WM/Year",
|
||||
"MusicBrainz/Track Id", "WM/Picture", NULL
|
||||
|
||||
static const char *tagops[eWM_COUNT_TAG_COUNT + 1] =
|
||||
{ [eWM_TrackNumber] = "WM/TrackNumber",
|
||||
[eWM_Genre] = "WM/Genre",
|
||||
[eWM_AlbumTitle] = "WM/AlbumTitle",
|
||||
[eWM_AlbumArtist] = "WM/AlbumArtist",
|
||||
[eWM_Composer] = "WM/Composer",
|
||||
[eWM_Year] = "WM/Year",
|
||||
[eWM_MusicBrainz_Track_Id]"MusicBrainz/Track Id",
|
||||
[eWM_Picture]"WM/Picture",
|
||||
[eWM_COUNT_TAG_COUNT] = NULL
|
||||
};
|
||||
|
||||
for (i=0; i < count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue