diff options
author | waker <wakeroid@gmail.com> | 2011-02-23 20:19:58 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-23 20:20:15 +0100 |
commit | 910d96dff0ce318c75cab9c93b682ce2b6e95e30 (patch) | |
tree | ed6c5de4dee0eba0eb1d8562a2d15141270c4956 /playlist.c | |
parent | 503731eba3ce7ea364d83cf56a44097edc699612 (diff) |
improved/fixed handling of toplevel performer in cuesheets
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -873,9 +873,12 @@ pl_process_cue_track (playItem_t *after, const char *fname, playItem_t **prev, c it->filetype = ftype; if (performer[0]) { pl_add_meta (it, "artist", performer); + if (albumperformer[0]) { + pl_add_meta (it, "albumartist", albumperformer); + } } - if (albumperformer) { - pl_add_meta (it, "albumartist", albumperformer); + else if (albumperformer[0]) { + pl_add_meta (it, "artist", albumperformer); } if (albumtitle[0]) { pl_add_meta (it, "album", albumtitle); |