summaryrefslogtreecommitdiff
path: root/junklib.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-09-16 20:49:40 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-09-16 20:49:40 +0200
commitd416e39ebbd6a5f9285f151592cc16205b3d437e (patch)
treea16e31b24b29b66f46be231855fabe65927cdfe0 /junklib.c
parentc4f4baffaa08cffbe955ab8b272bd96fce431f4d (diff)
fixed reading album artist field from id3v2 tag written by fb2k
Diffstat (limited to 'junklib.c')
-rw-r--r--junklib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/junklib.c b/junklib.c
index cbd670b6..02d62c30 100644
--- a/junklib.c
+++ b/junklib.c
@@ -76,7 +76,7 @@ static const char *frame_mapping[] = {
"comment", NULL, NULL, NULL, "Comment",
"cuesheet", NULL, NULL, NULL, "Cuesheet",
// "<performer>", "TXXX", "TXXX", "TXX", "Performer", // fb2k only
-// "<albumartist>", "TXXX", "TXXX", "TXX", "Album artist", // fb2k only
+// "band", "TXXX", "TXXX", "TXX", "Album artist", // fb2k only
// "date", "TXXX", "TXXX", "TXX", "Date", // fb2k only
NULL
};
@@ -2505,10 +2505,10 @@ junk_id3v2_load_txx (int version_major, playItem_t *it, uint8_t *readptr, int sy
it->replaygain_track_peak = atof (val);
}
else if (!strcasecmp (txx, "performer")) {
- pl_append_meta (it, "performer", val);
+ pl_replace_meta (it, "performer", val);
}
else if (!strcasecmp (txx, "album artist")) {
- pl_append_meta (it, "albumartist", val);
+ pl_replace_meta (it, "band", val);
}
else if (!strcasecmp (txx, "date")) {
pl_replace_meta (it, "year", val);