diff options
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | gst-libs/gst/tag/tag.h | 40 |
2 files changed, 56 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2005-02-18 Ross Burton <ross@burtonini.com> + + Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> + + * gst-libs/gst/tag/tag.h: + Add the MusicBrainz tags and prototype + gst_tag_register_musicbrainz_tags(). + * gst/tags/Makefile.am: + Add tags.c. + * gst/tags/tags.c: + Implement gst_tag_register_musicbrainz_tags(). + * ext/vorbis/oggvorbisenc.c: + Register the MusicBrainz tags. + * gst/tags/gstvorbistag.c: + Add mapping for MusicBrainz tags. All above fixes #167639. + 2005-02-25 Luca Ognibene <luogni@tin.it> Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h index 97eaf936..5e1cef0d 100644 --- a/gst-libs/gst/tag/tag.h +++ b/gst-libs/gst/tag/tag.h @@ -25,6 +25,45 @@ G_BEGIN_DECLS +/* Tag names */ + +/** + * GST_TAG_MUSICBRAINZ_TRACKID + * + * MusicBrainz track ID + */ +#define GST_TAG_MUSICBRAINZ_TRACKID "musicbrainz-trackid" +/** + * GST_TAG_MUSICBRAINZ_ARTISTID + * + * MusicBrainz artist ID + */ +#define GST_TAG_MUSICBRAINZ_ARTISTID "musicbrainz-artistid" +/** + * GST_TAG_MUSICBRAINZ_ALBUMID + * + * MusicBrainz album ID + */ +#define GST_TAG_MUSICBRAINZ_ALBUMID "musicbrainz-albumid" +/** + * GST_TAG_MUSICBRAINZ_ALBUMARTISTID + * + * MusicBrainz album artist ID + */ +#define GST_TAG_MUSICBRAINZ_ALBUMARTISTID "musicbrainz-albumartistid" +/** + * GST_TAG_MUSICBRAINZ_TRMID + * + * MusicBrainz track TRM ID + */ +#define GST_TAG_MUSICBRAINZ_TRMID "musicbrainz-trmid" +/** + * GST_TAG_MUSICBRAINZ_SORTNAME + * + * MusicBrainz artist sort name + */ +#define GST_TAG_MUSICBRAINZ_SORTNAME "musicbrainz-sortname" + /* functions for vorbis comment manipulation */ @@ -56,6 +95,7 @@ GstTagList * gst_tag_list_new_from_id3v1 (const guint8 * data); G_CONST_RETURN gchar * gst_tag_from_id3_tag (const gchar * vorbis_tag); G_CONST_RETURN gchar * gst_tag_to_id3_tag (const gchar * gst_tag); +void gst_tag_register_musicbrainz_tags (void); G_END_DECLS |