mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user