* Pull Genre info for .nfo files.
This commit is contained in:
parent
6ec5255d60
commit
786d86c366
@ -222,6 +222,10 @@ parse_nfo(const char * path, metadata_t * m)
|
|||||||
if( val )
|
if( val )
|
||||||
m->date = strdup(val);
|
m->date = strdup(val);
|
||||||
|
|
||||||
|
val = GetValueFromNameValueList(&xml, "genre");
|
||||||
|
if( val )
|
||||||
|
m->genre = strdup(val);
|
||||||
|
|
||||||
ClearNameValueList(&xml);
|
ClearNameValueList(&xml);
|
||||||
fclose(nfo);
|
fclose(nfo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user