aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-02-23 20:39:39 +0000
committerQball Cow <qball@qballcow.nl>2007-02-23 20:39:39 +0000
commitd7e20861d490cf0743f740cec3506fd3aca3d34b (patch)
treed3a54bc3c5f408d0133abf203f85ebf5bbf46986 /src/tag.c
parent08a7a86be21d98bc542988bb36c91c0747643435 (diff)
downloadmpd-d7e20861d490cf0743f740cec3506fd3aca3d34b.tar.gz
mpd-d7e20861d490cf0743f740cec3506fd3aca3d34b.tar.xz
mpd-d7e20861d490cf0743f740cec3506fd3aca3d34b.zip
Make mpd fetch the Original artist/performer tag from mp3's
git-svn-id: https://svn.musicpd.org/mpd/trunk@5418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index c5117190a..40eb44b37 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -41,6 +41,9 @@
# 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
@@ -195,6 +198,7 @@ MpdTag *parseId3Tag(struct id3_tag * tag)
ret = getID3Info(tag, ID3_FRAME_YEAR, TAG_ITEM_DATE, ret);
ret = getID3Info(tag, ID3_FRAME_GENRE, TAG_ITEM_GENRE, ret);
ret = getID3Info(tag, ID3_FRAME_COMPOSER, TAG_ITEM_COMPOSER, ret);
+ ret = getID3Info(tag, ID3_FRAME_PERFORMER, TAG_ITEM_PERFORMER, ret);
ret = getID3Info(tag, ID3_FRAME_COMMENT, TAG_ITEM_COMMENT, ret);
ret = getID3Info(tag, ID3_FRAME_DISC, TAG_ITEM_DISC, ret);