aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/XiphTags.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-05 22:56:57 +0200
committerMax Kellermann <max@duempel.org>2012-09-05 22:56:57 +0200
commitbab756a5d06463f992ece8c9ec0a5dfb8e4007c9 (patch)
tree0c2ba2eb5637edc73cc1f8c9b29946dd6d5bff48 /src/decoder/XiphTags.c
parent8c763fe4586ac0d259ca9974ea4d768eb555cb5d (diff)
decoder/{flac,vorbis}: move tag table to XiphTags.c
Merge duplicate data.
Diffstat (limited to 'src/decoder/XiphTags.c')
-rw-r--r--src/decoder/XiphTags.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/decoder/XiphTags.c b/src/decoder/XiphTags.c
new file mode 100644
index 00000000..d55787b9
--- /dev/null
+++ b/src/decoder/XiphTags.c
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "config.h"
+#include "XiphTags.h"
+
+const struct tag_table xiph_tags[] = {
+ { "tracknumber", TAG_TRACK },
+ { "discnumber", TAG_DISC },
+ { "album artist", TAG_ALBUM_ARTIST },
+ { NULL, TAG_NUM_OF_ITEM_TYPES }
+};