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".
This commit is contained in:
Max Kellermann 2009-07-07 08:00:21 +02:00
parent 7246d67263
commit adb2f66ced
2 changed files with 3 additions and 4 deletions

1
NEWS
View File

@ -5,6 +5,7 @@ ver 0.16 (20??/??/??)
- removed the deprecated "volume" command
* tags:
- added tag "AlbumArtistSort"
- id3: revised "performer" tag support
* decoders:
- ffmpeg: support multiple tags
* mixers:

View File

@ -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);