mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
[scan] Fix reading of FLAC tags
Regression from PR #1655. Closes #1673.
This commit is contained in:
parent
9e9dc27a59
commit
253a699001
@ -299,12 +299,12 @@ extract_metadata_from_kv(struct media_file_info *mfi, const char *key, const cha
|
||||
if ((value == NULL) || (strlen(value) == 0))
|
||||
return 0;
|
||||
|
||||
if (strncmp(key, "lyrics-", sizeof("lyrics-") - 1) == 0)
|
||||
if (strncasecmp(key, "lyrics-", sizeof("lyrics-") - 1) == 0)
|
||||
key = "lyrics";
|
||||
|
||||
for (i = 0; md_map[i].key != NULL; i++)
|
||||
{
|
||||
if (strcmp(key, md_map[i].key) == 0)
|
||||
if (strcasecmp(key, md_map[i].key) == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user