Commit 061d780c authored by Ronald S. Bultje's avatar Ronald S. Bultje

gst-libs/gst/tag/tag.h: Add the MusicBrainz tags and prototype gst_tag_register_musicbrainz_tags().

Original commit message from CVS:
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.
parent 569a9564
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>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment