summaryrefslogtreecommitdiff
path: root/junklib.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-09 14:48:15 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-09 14:48:15 +0100
commit90361a5da37f2277b9da361d977e5690ab18deca (patch)
treeab14af17eede4a9ec4274e6c35e530e9fbedce04 /junklib.c
parentbaf3248c4ee08e3695a361c1096075ec3d9415cc (diff)
minor change to the way encoder (TENC) and band (TPE2) id3v2 fields are working
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 35a48224..de48ce58 100644
--- a/junklib.c
+++ b/junklib.c
@@ -65,18 +65,18 @@ enum {
static const char *frame_mapping[] = {
// these tags will be displayed and edited uniformly for all tag types
"artist", "TPE1", "TPE1", "TP1", "Artist",
- "band", "TPE2", "TPE2", "TP2", "Album artist",
"disc", "TPOS", "TPOS", "TPA", "Disc",
"title", "TIT2", "TIT2", "TT2", "Title",
"album", "TALB", "TALB", "TAL", "Album",
"copyright", "TCOP", "TCOP", "TCO", "Copyright",
"genre", "TCON", "TCON", "TCO", "Genre",
- "vendor", "TENC", "TENC", "TEN", "ENCODER",
"composer", "TCOM", "TCOM", "TCM", "Composer",
- "year", "TYER", "TDRC", "TYE", "Year",
+ "year", "TYER", "TDRC", "TYE", "Year", // NOTE: TDRC and TYER are slightly different, and are converted on read/write
"track", "TRCK", "TRCK", "TRK", "Track", // NOTE: this is special case when writing id3v2
// misc id3v2 fields
// these might or might not have appropriate fields in every tag type
+ "BAND", "TPE2", "TPE2", "TP2", NULL,
+ "ENCODER", "TENC", "TENC", "TEN", NULL,
"BEATS_PER_MINUTE", "TBPM", "TBPM", "TBP", NULL,
"PLAYLIST_DELAY", "TDLY", "TDLY", "TDY", NULL,
"TEXT_WRITERS", "TEXT", "TEXT", "TXT", NULL,