if the performer tag is not set, use the composer tag; for Vorbis comments this means use "ARTIST" if there is no "PERFORMER"

This commit is contained in:
Josh Coalson 2002-11-13 19:52:55 +00:00
parent 4be849ff09
commit 18ca580818

View File

@ -98,6 +98,8 @@ char *flac_format_song_title(char *filename)
XMMS_NEW_TITLEINPUT(input);
input->performer = local__getstr(tag.performer);
if(!input->performer)
input->performer = local__getstr(tag.composer);
input->album_name = local__getstr(tag.album);
input->track_name = local__getstr(tag.title);
input->track_number = local__getnum(tag.track_number);