taglist: API: Add HOMEPAGE tag
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 12 Feb 2009 09:38:05 +0000 (10:38 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 12 Feb 2009 09:42:47 +0000 (10:42 +0100)
This tag will list a homepage for the media,
i.e. the artist's or movie's homepage.

This is different to GST_TAG_LOCATION as the latter
lists the original location of the media.

Fixes bug #571227.

docs/gst/gstreamer-sections.txt
gst/gsttaglist.c
gst/gsttaglist.h

index f15ea08..b07d371 100644 (file)
@@ -2012,6 +2012,7 @@ GST_TAG_TRACK_COUNT
 GST_TAG_ALBUM_VOLUME_NUMBER
 GST_TAG_ALBUM_VOLUME_COUNT
 GST_TAG_LOCATION
+GST_TAG_HOMEPAGE
 GST_TAG_DESCRIPTION
 GST_TAG_VERSION
 GST_TAG_ISRC
index cae23d8..2a595a8 100644 (file)
@@ -156,6 +156,12 @@ _gst_tag_initialize (void)
       _
       ("Origin of media as a URI (location, where the original of the file or stream is hosted)"),
       gst_tag_merge_strings_with_comma);
+  gst_tag_register (GST_TAG_HOMEPAGE, GST_TAG_FLAG_META,
+      G_TYPE_STRING,
+      _("homepage"),
+      _
+      ("Homepage for this media (i.e. artist or movie homepage)"),
+      gst_tag_merge_strings_with_comma);
   gst_tag_register (GST_TAG_DESCRIPTION, GST_TAG_FLAG_META, G_TYPE_STRING,
       _("description"), _("short text describing the content of the data"),
       gst_tag_merge_strings_with_comma);
index 1b29597..b93451f 100644 (file)
@@ -470,6 +470,14 @@ gboolean     gst_tag_list_get_date_index    (const GstTagList * list,
  */
 #define GST_TAG_LOCATION               "location"
 /**
+ * GST_TAG_HOMEPAGE:
+ *
+ * Homepage for this media (i.e. artist or movie homepage) (string)
+ *
+ * Since: 0.10.23
+ */
+#define GST_TAG_HOMEPAGE               "homepage"
+/**
  * GST_TAG_DESCRIPTION:
  *
  * short text describing the content of the data (string)