* 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 )
|
||||
m->date = strdup(val);
|
||||
|
||||
val = GetValueFromNameValueList(&xml, "genre");
|
||||
if( val )
|
||||
m->genre = strdup(val);
|
||||
|
||||
ClearNameValueList(&xml);
|
||||
fclose(nfo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user