aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 16:12:45 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 16:12:45 +0200
commitea616b3ed4c1e94f29ac32bcd7751943e2d647a0 (patch)
treead7aab07cba992b1aa728466bc1ffe5ca9e1e1a0 /src/tag.c
parenta9dc0e816c0b6c0ed19a584225e3fe6251f1a4c6 (diff)
downloadmpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.gz
mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.xz
mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.zip
tag: removed the "_ITEM_" suffix from the enum names
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/tag.c b/src/tag.c
index 5d473322e..874fdaef2 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -42,20 +42,20 @@ static struct {
} bulk;
const char *tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
- "Artist",
+ [TAG_ARTIST] = "Artist",
[TAG_ARTIST_SORT] = "ArtistSort",
- "Album",
- "AlbumArtist",
+ [TAG_ALBUM] = "Album",
+ [TAG_ALBUM_ARTIST] = "AlbumArtist",
[TAG_ALBUM_ARTIST_SORT] = "AlbumArtistSort",
- "Title",
- "Track",
- "Name",
- "Genre",
- "Date",
- "Composer",
- "Performer",
- "Comment",
- "Disc",
+ [TAG_TITLE] = "Title",
+ [TAG_TRACK] = "Track",
+ [TAG_NAME] = "Name",
+ [TAG_GENRE] = "Genre",
+ [TAG_DATE] = "Date",
+ [TAG_COMPOSER] = "Composer",
+ [TAG_PERFORMER] = "Performer",
+ [TAG_COMMENT] = "Comment",
+ [TAG_DISC] = "Disc",
/* MusicBrainz tags from http://musicbrainz.org/doc/MusicBrainzTag */
[TAG_MUSICBRAINZ_ARTISTID] = "MUSICBRAINZ_ARTISTID",
@@ -83,7 +83,7 @@ void tag_lib_init(void)
/* parse the "metadata_to_use" config parameter below */
/* ignore comments by default */
- ignore_tag_items[TAG_ITEM_COMMENT] = true;
+ ignore_tag_items[TAG_COMMENT] = true;
value = config_get_string(CONF_METADATA_TO_USE, NULL);
if (value == NULL)