* Check all contributor types when determining the artist.

This commit is contained in:
Justin Maggard
2009-03-26 21:06:51 +00:00
parent 6d5ef54c06
commit 9a481196fc
3 changed files with 13 additions and 9 deletions

View File

@ -482,7 +482,7 @@ _get_asffileinfo(char *file, struct song_metadata *psong)
if(_asf_load_string(fp, ValueType, ValueLength, buf, sizeof(buf)))
{
if(buf[0])
psong->contributor[ROLE_ARTIST] = strdup(buf);
psong->contributor[ROLE_ALBUMARTIST] = strdup(buf);
}
}
else if(!strcasecmp(buf, "Description") || !strcasecmp(buf, "WM/Track"))