[gst-cvs] gst-plugins-base: tag: Add support for ALBUM_ARTIST tag in vorbiscomments and ID3v2 tags

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Aug 5 21:44:11 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: cd31b2e298c51f4c87bff8039dc059be5f0c9460
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=cd31b2e298c51f4c87bff8039dc059be5f0c9460

Author: John Millikin <jmillikin at gmail.com>
Date:   Tue Aug  4 14:14:53 2009 +0200

tag: Add support for ALBUM_ARTIST tag in vorbiscomments and ID3v2 tags

Require latest core for this.

Fixes bug #590430.

---

 configure.ac                    |    2 +-
 gst-libs/gst/tag/gstid3tag.c    |    1 +
 gst-libs/gst/tag/gstvorbistag.c |    3 +++
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index d752101..b818ea6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 
 dnl *** required versions of GStreamer stuff ***
-GST_REQ=0.10.23.1
+GST_REQ=0.10.24.1
 
 dnl *** autotools stuff ****
 
diff --git a/gst-libs/gst/tag/gstid3tag.c b/gst-libs/gst/tag/gstid3tag.c
index e400894..fc13fb2 100644
--- a/gst-libs/gst/tag/gstid3tag.c
+++ b/gst-libs/gst/tag/gstid3tag.c
@@ -197,6 +197,7 @@ static const GstTagEntryMatch tag_matches[] = {
   {GST_TAG_ALBUM, "TALB"},
   {GST_TAG_TRACK_NUMBER, "TRCK"},
   {GST_TAG_ARTIST, "TPE1"},
+  {GST_TAG_ALBUM_ARTIST, "TPE2"},
   {GST_TAG_COMPOSER, "TCOM"},
   {GST_TAG_COPYRIGHT, "TCOP"},
   {GST_TAG_COPYRIGHT_URI, "WCOP"},
diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c
index f327260..5e1668f 100644
--- a/gst-libs/gst/tag/gstvorbistag.c
+++ b/gst-libs/gst/tag/gstvorbistag.c
@@ -83,6 +83,9 @@ static const GstTagEntryMatch tag_matches[] = {
   {GST_TAG_ALBUM_SORTNAME, "ALBUMSORTORDER"},
   {GST_TAG_TITLE_SORTNAME, "TITLESORT"},
   {GST_TAG_TITLE_SORTNAME, "TITLESORTORDER"},
+  {GST_TAG_ALBUM_ARTIST, "ALBUMARTIST"},
+  {GST_TAG_ALBUM_ARTIST_SORTNAME, "ALBUMARTISTSORT"},
+  {GST_TAG_ALBUM_ARTIST_SORTNAME, "ALBUMARTISTSORTORDER"},
   {GST_TAG_LANGUAGE_CODE, "LANGUAGE"},
   {GST_TAG_CDDA_MUSICBRAINZ_DISCID, "MUSICBRAINZ_DISCID"},
   {GST_TAG_CDDA_CDDB_DISCID, "DISCID"},





More information about the Gstreamer-commits mailing list