diff options
author | Max Kellermann <max@duempel.org> | 2009-07-07 08:00:21 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-07 08:00:21 +0200 |
commit | adb2f66cedcac56eaaaa36e8026b497c96c522e6 (patch) | |
tree | 1628e6d9415a02825e125c9e4965903eef207856 /src | |
parent | 7246d67263b561f722f317eeff087058b8b6a1c0 (diff) | |
download | mpd-adb2f66cedcac56eaaaa36e8026b497c96c522e6.tar.gz mpd-adb2f66cedcac56eaaaa36e8026b497c96c522e6.tar.xz mpd-adb2f66cedcac56eaaaa36e8026b497c96c522e6.zip |
tag_id3: revised "performer" tag support
According to the ID3 2.4 documentation, "TOPE" is "Original
artist/performer", not "performer". Removed "TOPE" support. Instead,
map TPE3 ("Conductor/performer refinement") and TPE4 ("Interpreted,
remixed, or otherwise modified by") to "performer".
Diffstat (limited to 'src')
-rw-r--r-- | src/tag_id3.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c index 019ad7ada..8f48e980b 100644 --- a/src/tag_id3.c +++ b/src/tag_id3.c @@ -38,9 +38,6 @@ # ifndef ID3_FRAME_COMPOSER # define ID3_FRAME_COMPOSER "TCOM" # endif -# ifndef ID3_FRAME_PERFORMER -# define ID3_FRAME_PERFORMER "TOPE" -# endif # ifndef ID3_FRAME_DISC # define ID3_FRAME_DISC "TPOS" # endif @@ -340,7 +337,8 @@ struct tag *tag_id3_import(struct id3_tag * tag) getID3Info(tag, ID3_FRAME_YEAR, TAG_ITEM_DATE, ret); getID3Info(tag, ID3_FRAME_GENRE, TAG_ITEM_GENRE, ret); getID3Info(tag, ID3_FRAME_COMPOSER, TAG_ITEM_COMPOSER, ret); - getID3Info(tag, ID3_FRAME_PERFORMER, TAG_ITEM_PERFORMER, ret); + getID3Info(tag, "TPE3", TAG_ITEM_PERFORMER, ret); + getID3Info(tag, "TPE4", TAG_ITEM_PERFORMER, ret); getID3Info(tag, ID3_FRAME_COMMENT, TAG_ITEM_COMMENT, ret); getID3Info(tag, ID3_FRAME_DISC, TAG_ITEM_DISC, ret); |