* Add a flag to tell ParseNameValue() to store empty XML elements.
This commit is contained in:
@ -273,7 +273,7 @@ parse_nfo(const char *path, metadata_t *m)
|
||||
return;
|
||||
nread = fread(&buf, 1, sizeof(buf), nfo);
|
||||
|
||||
ParseNameValue(buf, nread, &xml);
|
||||
ParseNameValue(buf, nread, &xml, 0);
|
||||
|
||||
//printf("\ttype: %s\n", GetValueFromNameValueList(&xml, "rootElement"));
|
||||
val = GetValueFromNameValueList(&xml, "title");
|
||||
|
Reference in New Issue
Block a user